3

How can I find p-value and F-statistics in following regression task with Random Forest Regressor

rf = RandomForestRegressor(n_estimators=100, random_state=76)
result = cross_val_score(rf, X, y, cv=crossvalidation, n_jobs=-1, scoring="neg_mean_squared_error")
rms = sqrt(result.mean() * -1)
desertnaut
  • 57,590
  • 26
  • 140
  • 166
ZEESHAN
  • 191
  • 2
  • 15
  • possible duplicate of https://stackoverflow.com/questions/27928275/find-p-value-significance-in-scikit-learn-linearregression – Massoud Jul 19 '18 at 18:41
  • 1
    p-value and F-statistics of what exactly? – seralouk Jul 19 '18 at 18:43
  • Not a duplicate. I think you want to look at resampling (eg. bootstrapping) to numerically estimate the p-value from the model. – Louic Jul 19 '18 at 21:28

0 Answers0