Open vikramsubramanian opened 7 months ago
set_cutoff
function implementation to ensure that the similarity cut-off is applied correctly without affecting precision negatively.calculate_precision
function correctly calculates the number of true positives and false positives after the cut-off is applied.calculate_recall
function correctly calculates the number of true positives and false negatives, considering the cut-off.importance_cutoff
in train
method or the MIN_SAMPLE
in the regressor.py
file, and correct them if they are contributing to the issue.
In theory it should not decrease precision. )