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
I have adapted your code for a larger dataset and had it freeze when I ran the line
rf_random = RandomizedSearchCV(estimator=rf, param_distributions=random_grid, n_iter = 100, scoring='neg_mean_absolute_error', cv = 3, verbose=2, random_state=42, n_jobs=-1, return_train_score=True)
I think this is because you assigned n_jobs = -1. Keeping the default (None, or manually setting to 1 or some value less than the total cores you have) should prevent this but lower computation time.
The text was updated successfully, but these errors were encountered:
I have adapted your code for a larger dataset and had it freeze when I ran the line
rf_random = RandomizedSearchCV(estimator=rf, param_distributions=random_grid, n_iter = 100, scoring='neg_mean_absolute_error', cv = 3, verbose=2, random_state=42, n_jobs=-1, return_train_score=True)
I think this is because you assigned n_jobs = -1. Keeping the default (None, or manually setting to 1 or some value less than the total cores you have) should prevent this but lower computation time.
The text was updated successfully, but these errors were encountered: