KNeighborsClassifier ==================== .. currentmodule:: sklearn.neighbors .. autoclass:: KNeighborsClassifier :members: :inherited-members: :special-members: __call__ .. minigallery:: sklearn.neighbors.KNeighborsClassifier sklearn.neighbors.KNeighborsClassifier.__init__ sklearn.neighbors.KNeighborsClassifier.fit sklearn.neighbors.KNeighborsClassifier.get_metadata_routing sklearn.neighbors.KNeighborsClassifier.get_params sklearn.neighbors.KNeighborsClassifier.kneighbors sklearn.neighbors.KNeighborsClassifier.kneighbors_graph sklearn.neighbors.KNeighborsClassifier.predict sklearn.neighbors.KNeighborsClassifier.predict_proba sklearn.neighbors.KNeighborsClassifier.score sklearn.neighbors.KNeighborsClassifier.set_params sklearn.neighbors.KNeighborsClassifier.set_score_request :add-heading: Gallery examples :heading-level: -