evalml.objectives.F1.score¶
-
F1.
score
(y_true, y_predicted, X=None)¶ Returns a numerical score indicating performance based on the differences between the predicted and actual values.
- Parameters
y_predicted (pd.Series) – predicted values of length [n_samples]
y_true (pd.Series) – actual class labels of length [n_samples]
X (pd.DataFrame or np.array) – extra data of shape [n_samples, n_features] necessary to calculate score
- Returns
score