Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

gricsearchcv sample_weights

grid_cv = GridSearchCV(clf, param_grid=param_grid,
                       scoring='recall', n_jobs=-1, cv=10)

grid_cv.fit(x_train_orig, y=y_train_orig,
            sample_weight=my_sample_weights)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #gricsearchcv
ADD COMMENT
Topic
Name
6+5 =