Skip to content

Commit

Permalink
Allow dictionary metric specification in ProximityTree
Browse files Browse the repository at this point in the history
  • Loading branch information
isaksamsten committed Feb 22, 2024
1 parent 20284fb commit 1395bdf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wildboar/tree/_ptree.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ class ProximityTreeClassifier(BaseTreeClassifier):
"metric": [
StrOptions(_METRIC_NAMES, deprecated={"default"}),
list,
dict,
],
"metric_params": [None, dict],
"metric_factories": [ # TODO(1.4)
Expand Down

0 comments on commit 1395bdf

Please sign in to comment.