evalml.pipelines.components.KNeighborsClassifier.predict_proba

KNeighborsClassifier.predict_proba(X)

Make probability estimates for labels.

Parameters

X (ww.DataTable, pd.DataFrame, or np.ndarray) – Features

Returns

Probability estimates

Return type

pd.DataFrame