changed hyperparameters in SVM
This commit is contained in:
parent
5d4b65cbf7
commit
68ba9e83cb
4
SVM.py
4
SVM.py
|
@ -54,8 +54,8 @@ class SVM:
|
|||
|
||||
grid = GridSearchCV(pipeline, {'perc__percentile': [25, 50, 75, 100],
|
||||
'SVC__kernel': ['linear','poly'],
|
||||
'SVC__gamma': [0.001, 0.01],
|
||||
'SVC__C': [0.1, 1]},
|
||||
'SVC__gamma': [0.0001, 0.001, 0.01, 0.1],
|
||||
'SVC__C': [0.0001, 0.001, 0.1]},
|
||||
cv=skf,
|
||||
scoring=make_scorer(f1_score))
|
||||
|
||||
|
|
Loading…
Reference in New Issue