stevenpawley / h2oparsnip

Model Wrappers for H2O models
Other
19 stars 3 forks source link

engine for discrim #1

Closed topepo closed 4 years ago

topepo commented 4 years ago

For the naive Bayes engine, I would add a condition inside of .onLoad:

if (any(loadedNamespaces() == "discrim")) {
   add_naive_Bayes_h2o()
}

I can put a note in the discrim docs that, if they want the h2o engine, they should load discrim and then this package.

stevenpawley commented 4 years ago

Thanks!