shankarpandala / lazypredict

Lazy Predict help build a lot of basic models without much code and helps understand which models works better without any parameter tuning
MIT License
3.03k stars 344 forks source link

Add precision to LazyClassifier #434

Open jorgemario503 opened 1 year ago

jorgemario503 commented 1 year ago

Is your feature request related to a problem? Please describe. Many time classification goals face imbalanced datasets, so the sklearn precision_score is a nice-to-have metric besides F1 score as many times there's one class with more importance than the other.

Describe the solution you'd like Add precision_score and it would be nice to include as a parameter to choose which pos_label you want precision_score to be calculated from.

nityansuman commented 8 months ago

@jorgemario503 I'm working on this here: Fixed here: https://github.com/nityansuman/lazypredict-nightly