We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbab027 commit a6a8ed8Copy full SHA for a6a8ed8
1 file changed
sklearn_questions.py
@@ -31,9 +31,9 @@
31
class OneNearestNeighbor(ClassifierMixin, BaseEstimator):
32
"""OneNearestNeighbor classifier.
33
34
-This classifier uses the 1-nearest neighbor method:
35
-it assigns a new data point to the same class as the closest sample
36
-in the training set, with closeness determined by Euclidean distance
+ This classifier uses the 1-nearest neighbor method:
+ it assigns a new data point to the same class as the closest sample
+ in the training set, with closeness determined by Euclidean distance
37
"""
38
39
def __init__(self): # noqa: D107
0 commit comments