ymattu / MlBayesOpt

R package to tune parameters for machine learning(Support Vector Machine, Random Forest, and Xgboost), using bayesian optimization with gaussian process
Other
45 stars 15 forks source link

recipes friendly #60

Open ymattu opened 5 years ago

ymattu commented 5 years ago

when using recipes package, make it available to use recipe object in MlBayesOpt functions like

rec <- recipes::recipe(data, y ~ .) %>%
  step_****() %>%
  step_****()
res <- xgb_cv_opt(recipe = rec)