You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#Use GridSearchCV on NSW model with the supplied parameter spacensw=NSW()
gscv=GridSearchCV(nsw, param_dict, cv=10, scoring="accuracy", n_jobs=-1)
gscv.fit(X_train, y_train)
best_param=gscv.best_params_# best set of parametersbest_score=gscv.best_score_# best accuracy score
100%|██████████| 150/150 [00:00<00:00, 224.81it/s]
Model is fitted with the provided data.
100%|██████████| 150/150 [00:00<00:00, 238.86it/s]
100%|██████████| 151/151 [00:01<00:00, 141.00it/s]
Model is fitted with the provided data.
Model accuracy: 0.75