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
2.76k stars 317 forks source link

Add precision to LazyClassifier #434

Open jorgemario503 opened 11 months ago

jorgemario503 commented 11 months 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 4 months ago

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