Skip to content Skip to sidebar Skip to footer

Scikit-learn Fit Remaining Time

Is there a way to estimate the remaining time when fitting a model? For example model = sk.ensemble.RandomForestRegressor(n_estimators=10) model.fit(x, y) I have a quite large dat

Solution 1:

Try verbose option. You can change it from 0 (no output), 1 (update for each job), and 2 (update for each tree), e.g.

model = RandomForestRegressor(n_estimators=100, verbose=2, n_jobs=2).fit(X_train, y_train)

Post a Comment for "Scikit-learn Fit Remaining Time"