Question

How is the score of gridsearchcv calculated? Is the score a percentage? Does this mean higher is a better? Thank you

Était-ce utile?

La solution

The score is based on the scorer defined in the scoring argument. Meaning, the scorer can be any of the default metrics, such as precision, accuracy or f1-score (eg. https://scikit-learn.org/stable/modules/model_evaluation.html#scoring-parameter); or a custom scorer. For a scorer (by convention) higher value is better. The value is not necessarily percentage, but is often normalized between 0 and 1.

Licencié sous: CC-BY-SA avec attribution
scroll top