Pergunta

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

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
scroll top