ModelOriented / forester

Trees are all you need
https://modeloriented.github.io/forester/
GNU General Public License v3.0
108 stars 14 forks source link

the target value is ERROR #112

Closed luozhy88 closed 11 months ago

luozhy88 commented 1 year ago

Thank you very much for making such a convenient package. I have a question, please help me. MYversion is 1.2.0

image
luozhy88 commented 1 year ago

output2 <- forester::train(data = df_train, y = 'Age', bayes_iter = 0,

engine = c('ranger', 'xgboost', 'decision_tree'),

             engine = c('xgboost'),
             verbose = TRUE,
             sort_by = 'mse',
             advanced_preprocessing = T,
             random_evals = 1)
luozhy88 commented 1 year ago

it works! if you can change "df_train$Age<-df_train$Age %>% as.double() +0.2"