laresbernardo / lares

Analytics & Machine Learning R Sidekick
https://laresbernardo.github.io/lares/
233 stars 49 forks source link

"No valid data provided" error when running lares::h2o_automl #6

Closed pangka closed 5 years ago

pangka commented 5 years ago

Hello, Read your excellent blog. Tried reproducing your h2o_automl blog example. Ran this code: results <- lares::h2o_automl(df = Titanic, max_models = 10) Getting this error: "Error in roc.default(results$scores$tag, results$scores$score, ci = T) : No valid data provided." h2o starts, begins evaluating GBM models, then halts. Retried using code from your blog--same result

laresbernardo commented 5 years ago

Hello @pangka Thanks for writing. I know exactly what the error is and I've just fixed it. Please, run lares::updateLares(), close your RStudio and open it again! The issue was a renaming from results$scores into results$scores_test for better labelings. Didn't caught all of them. Let me know if that fixed your issue

pangka commented 5 years ago

Hello again, Yes, that fixed it. Thank you very much!

On Sun, Nov 11, 2018 at 5:51 AM laresbernardo notifications@github.com wrote:

Hello @pangka https://github.com/pangka Thanks for writing. I know exactly what the error is and I've just fixed it. Please, run lares::updateLares(), close your RStudio and open it again! The issue was a renaming from results$scores into results$scores_test for better labelings. Didn't caught all of them. Let me know if that fixed your issue

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/laresbernardo/lares/issues/6#issuecomment-437671858, or mute the thread https://github.com/notifications/unsubscribe-auth/Aq3OCDMRBQyoUBJo4-BPXXWgLb0nZjyjks5uuCtcgaJpZM4YYfVB .