modelfoxdotdev / modelfox

ModelFox makes it easy to train, deploy, and monitor machine learning models.
Other
1.47k stars 64 forks source link

Fix AUC approximate calculation #25

Closed isabella closed 3 years ago

isabella commented 3 years ago

The threshold=0 and threshold=1 endpoints on the ROC curve are missing leading to an inaccurate AUC-ROC calculation in binary_classification_metrics

https://github.com/tangramdotdev/tangram/blob/a4a40bdfdbff59ea963453def3d5eeb5494c5c16/crates/metrics/binary_classification.rs#L82