profile
viewpoint

Ask questionsError: Engine 'tree' is not available. Please use one of: 'rpart', 'C5.0', 'spark'

Running minimal code from READ.me

model <- parsnip::decision_tree()
parsnip::set_engine(model, "tree")

# boost_tree
model <- parsnip::boost_tree(mtry = 1, trees = 50)

parsnip::set_engine(model, "catboost")
parsnip::set_engine(model, "lightgbm")

Error: Engine 'tree' is not available. Please use one of: 'rpart', 'C5.0', 'spark'
curso-r/treesnip

Answer questions verajosemanuel

solved installing tree package

install.packages("tree")

useful!

Related questions

No questions were found.
source:https://uonfu.com/
Github User Rank List