elphick / sklearn-viz

Interactive visualisations to aid evaluation of scikit-learn models
https://elphick.github.io/sklearn-viz/
MIT License
0 stars 0 forks source link

ModelSelection default scorer bug #46

Closed elphick closed 1 month ago

elphick commented 1 month ago

When a pipeline is passed via the dictionary supplied to estimators, the scorer is not automatically set. The task is to resolve this, so that the default score for regressors (r2) and classifiers(accuracy) is set. Where more than one estimator is passed, the first is used to determine the scorer.