remove __estimator
This commit is contained in:
parent
1a1154b4f4
commit
9839b6f8d1
15 changed files with 79 additions and 79 deletions
|
@ -14,28 +14,28 @@ Created on Tue Mar 15 11:09:50 2022
|
|||
"""
|
||||
parameters = [
|
||||
{
|
||||
'clf__estimator': [LogisticRegression(**rs)],
|
||||
#'clf__estimator__C': [0.001, 0.01, 0.1, 1, 10, 100, 1000],
|
||||
'clf__estimator__C': np.logspace(0, 4, 10),
|
||||
'clf__estimator__penalty': ['none', 'l1', 'l2', 'elasticnet'],
|
||||
'clf__estimator__max_iter': list(range(100,800,100)),
|
||||
'clf__estimator__solver': ['saga']
|
||||
'clf': [LogisticRegression(**rs)],
|
||||
#'clf__C': [0.001, 0.01, 0.1, 1, 10, 100, 1000],
|
||||
'clf__C': np.logspace(0, 4, 10),
|
||||
'clf__penalty': ['none', 'l1', 'l2', 'elasticnet'],
|
||||
'clf__max_iter': list(range(100,800,100)),
|
||||
'clf__solver': ['saga']
|
||||
},
|
||||
{
|
||||
'clf__estimator': [LogisticRegression(**rs)],
|
||||
#'clf__estimator__C': [0.001, 0.01, 0.1, 1, 10, 100, 1000],
|
||||
'clf__estimator__C': np.logspace(0, 4, 10),
|
||||
'clf__estimator__penalty': ['l2', 'none'],
|
||||
'clf__estimator__max_iter': list(range(100,800,100)),
|
||||
'clf__estimator__solver': ['newton-cg', 'lbfgs', 'sag']
|
||||
'clf': [LogisticRegression(**rs)],
|
||||
#'clf__C': [0.001, 0.01, 0.1, 1, 10, 100, 1000],
|
||||
'clf__C': np.logspace(0, 4, 10),
|
||||
'clf__penalty': ['l2', 'none'],
|
||||
'clf__max_iter': list(range(100,800,100)),
|
||||
'clf__solver': ['newton-cg', 'lbfgs', 'sag']
|
||||
},
|
||||
{
|
||||
'clf__estimator': [LogisticRegression(**rs)],
|
||||
#'clf__estimator__C': [0.001, 0.01, 0.1, 1, 10, 100, 1000],
|
||||
'clf__estimator__C': np.logspace(0, 4, 10),
|
||||
'clf__estimator__penalty': ['l1', 'l2'],
|
||||
'clf__estimator__max_iter': list(range(100,800,100)),
|
||||
'clf__estimator__solver': ['liblinear']
|
||||
'clf': [LogisticRegression(**rs)],
|
||||
#'clf__C': [0.001, 0.01, 0.1, 1, 10, 100, 1000],
|
||||
'clf__C': np.logspace(0, 4, 10),
|
||||
'clf__penalty': ['l1', 'l2'],
|
||||
'clf__max_iter': list(range(100,800,100)),
|
||||
'clf__solver': ['liblinear']
|
||||
}
|
||||
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue