Russian
Языки
English
Bengali
French
Hindi
Italian
Japanese
Korean
Malayalam
Russian
Spanish
Tamil
Turkish
Vietnamese
Shortcuts



NeuralNetworkClassifier.score

NeuralNetworkClassifier.score(X, y, sample_weight=None)[исходный код]

Returns a score of this model given samples and true values for the samples. In case of classification this should be mean accuracy, in case of regression the coefficient of determination \(R^2\) of the prediction.

Параметры
Тип результата

float

Результат

a float score of the model.