remove __estimator
This commit is contained in:
parent
1a1154b4f4
commit
9839b6f8d1
15 changed files with 79 additions and 79 deletions
|
@ -7,11 +7,11 @@ Created on Wed May 18 06:03:24 2022
|
|||
"""
|
||||
parameters = [
|
||||
{
|
||||
'clf__estimator': [KNeighborsClassifier(**njobs)]
|
||||
, 'clf__estimator__n_neighbors': range(21, 51, 2)
|
||||
#, 'clf__estimator__n_neighbors': [5, 7, 11]
|
||||
, 'clf__estimator__metric' : ['euclidean', 'manhattan', 'minkowski']
|
||||
, 'clf__estimator__weights' : ['uniform', 'distance']
|
||||
'clf': [KNeighborsClassifier(**njobs)]
|
||||
, 'clf__n_neighbors': range(21, 51, 2)
|
||||
#, 'clf__n_neighbors': [5, 7, 11]
|
||||
, 'clf__metric' : ['euclidean', 'manhattan', 'minkowski']
|
||||
, 'clf__weights' : ['uniform', 'distance']
|
||||
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue