Skip to content

Commit

Permalink
docs: Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sidchaini committed Oct 18, 2024
1 parent 09b0162 commit 0ea4635
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ X, y = make_classification(
)
clf = dcpy.DistanceMetricClassifier()
clf.fit(X, y)
print(clf.predict([[0, 0, 0, 0]]), metric="canberra")
print(clf.predict([[0, 0, 0, 0]], metric="canberra"))
```

## Features
Expand Down
2 changes: 1 addition & 1 deletion distclassipy/classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class in the feature space. If True, the data will be scaled based on the
>>> clf = dcpy.DistanceMetricClassifier()
>>> clf.fit(X, y)
DistanceMetricClassifier(...)
>>> print(clf.predict([[0, 0, 0, 0]]), metric="canberra")
>>> print(clf.predict([[0, 0, 0, 0]], metric="canberra"))
[0]
"""

Expand Down

0 comments on commit 0ea4635

Please sign in to comment.