Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

sample logistic regression parameters for gridsearchcv

params = {"logreg__solver": ["newton-cg", "saga", "lbfgs"],
         "logreg__C": np.linspace(0.001, 1.0, 10)}
Source by campus.datacamp.com #
 
PREVIOUS NEXT
Tagged: #sample #logistic #regression #parameters #gridsearchcv
ADD COMMENT
Topic
Name
6+7 =