I am running a RandomForestClassifier on my data but my jupyter notebook is very slow. It took almost 2 hours to run the below code:
rf = RandomForestClassifier() rf_random = RandomizedSearchCV(estimator = rf, param_distributions = random_grid, n_iter = 100, cv = 3, verbose=2, random_state=42, n_jobs = -1) rf_random.fit(X_train, y_train)
My dataset has 30K rows and 300 features.
I am not sure if something is wrong with my code or jupyter notebook configuration. I am using a remote desktop windows machine.
I would really appreciate any help! Thanks in adnvace