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

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
scroll top