Skip to content

Commit

Permalink
Merge pull request #51 from aadityasinha-dotcom/radiusNeighborsClassi…
Browse files Browse the repository at this point in the history
…fiers

Added RadiusNeighborsClassifier
  • Loading branch information
Thilakraj1998 committed Oct 11, 2021
2 parents beac2c3 + 7667e56 commit a9de9ba
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions blobcity/config/classifier_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,18 @@ class classifier_config:
'booster':{'str':['gbtree', 'gblinear','dart']}
}
],
"radius":[
neighbors.RadiusNeighborsClassifier,
{
"radius":{'float':[1.0,10.0]},
"weights":{'str':['uniform','distance']},
"algorithm":{'str':['auto', 'ball_tree', 'kd_tree', 'brute']},
"p":{'int':[1,2]},
"metric":{'str':['euclidean', 'manhattan', 'chebyshev', 'minkowski']},
"leaf_size":{'int':[10,50]},
"outlier_label":{'str':['most_frequent']}
}
]
"bernoullinb":[
naive_bayes.BernoulliNB,
{
Expand Down Expand Up @@ -183,3 +195,4 @@ class classifier_config:
}
],
}

0 comments on commit a9de9ba

Please sign in to comment.