Skip to content

Commit

Permalink
chore: updated readme with new code
Browse files Browse the repository at this point in the history
  • Loading branch information
sidchaini committed Sep 17, 2024
1 parent dc7b8aa commit 31072cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ X, y = make_classification(
random_state=0,
shuffle=False,
)
clf = dcpy.DistanceMetricClassifier(metric="canberra")
clf = dcpy.DistanceMetricClassifier()
clf.fit(X, y)
print(clf.predict([[0, 0, 0, 0]]))
print(clf.predict([[0, 0, 0, 0]]), metric="canberra")
```

## Features
Expand Down

0 comments on commit 31072cf

Please sign in to comment.