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