Open RemyLau opened 2 years ago
https://github.com/RemyLau/fastauc/blob/979df9aef43a0743d8fd04b489cd239584160150/src/fastauc/auroc.py#L43
Currently integrating the auc using right Riemann sum. Add option to use trapezoidal rule, which is what scikit-learn uses (see source code for sklearn auc and numpy trapz)?
Right Riemann sum overshoots the final auc values slightly (on the order of 1e-14). Might not be a big deal but could be nice to have the option.
https://github.com/RemyLau/fastauc/blob/979df9aef43a0743d8fd04b489cd239584160150/src/fastauc/auroc.py#L43
Currently integrating the auc using right Riemann sum. Add option to use trapezoidal rule, which is what scikit-learn uses (see source code for sklearn auc and numpy trapz)?