-
-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update RLearner_classif_h2odeeplearning.R
#2668
Conversation
Added params.
R/RLearner_classif_h2odeeplearning.R:223:57: style: Put spaces around all infix operators (except exponentiation). makeDiscreteLearnerParam("stopping_metric", values=c("AUTO", "deviance", "logloss", "MSE", "RMSE", "MAE", "RMSLE", "AUC",
~^~ |
Thanks, looks good. Could you also please add at least some of the new parameters to the tests for this learner? Are these parameters relevant for the regression learner as well? If so, it would be great if you could add them to that as well please. |
We should check, because some of these "new" ones were already in the regr learner. |
@jakob-r , i just verified and all of them are already set in regr learner, except for Also, there's a few more @larskotthoff , if you guys not sure i can add it to the tests by saturday. |
set stopping rounds as integer and added requirement to stopping metric.
I would assume that
It might work because h2o converts it but certainly e.g. 43.4 would not be a plausible value. |
Log loss is for classify... Come on... Deviance probably too |
My bad, I wrongly assumed there are ordered in some sense without giving too much thought. But deviance seems to be for regression according to this page Although I do not understand the "formula". |
i was wrong. deviance is for regression. i think it should be possible to use it also for classif, but maybe not supported, maybe simply test it for 1 min. also i had to stare 5 min at the formula to understand it Loss = Quadratic -> MSE==Deviance For Absolute/Laplace or Huber -> MSE != Deviance you have to read it like this if loss=l2, then mse == dev |
Whats the status here? @albersonmiranda Will you incorporate the changes from Jakob? |
@pat-s sorry for the delay. Updated Also, |
From my side it is related enough to do it in one PR. Thanks for the effort! |
RLearner_classif_h2odeeplearning.R
changes in distributions and stopping metrics
Done! |
Thanks for contributing! |
* Update RLearner_classif_h2odeeplearning.R Added params. * style changes for travis * updated type set stopping rounds as integer and added requirement to stopping metric. * Update metrics and added distribution * Update RLearner_regr_h2odeeplearning.R changes in distributions and stopping metrics * add NEWS
Added params.
fixes #2658