MCPcopy Create free account
hub / github.com/scikit-learn/scikit-learn / score

Method score

sklearn/base.py:1094–1109  ·  view source on GitHub ↗

Return the score of the model on the data `X`. Parameters ---------- X : array-like of shape (n_samples, n_features) Test samples. y : Ignored Not used, present for API consistency by convention. Returns ------- score

(self, X, y=None)

Source from the content-addressed store, hash-verified

1092 return tags
1093
1094 def score(self, X, y=None):
1095 """Return the score of the model on the data `X`.
1096
1097 Parameters
1098 ----------
1099 X : array-like of shape (n_samples, n_features)
1100 Test samples.
1101
1102 y : Ignored
1103 Not used, present for API consistency by convention.
1104
1105 Returns
1106 -------
1107 score : float
1108 """
1109 pass
1110
1111
1112class OutlierMixin:

Callers 4

one_runFunction · 0.45
bench_oneFunction · 0.45
one_runFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected