powered by
Gradient boosting classifier using xgboost.
xgboost
cla_xgboost(attribute, params = list(), nrounds = 20)
returns a cla_xgboost object
cla_xgboost
target attribute name
list of xgboost parameters
number of boosting rounds
if (FALSE) { data(iris) model <- cla_xgboost("Species") model <- fit(model, iris) pred <- predict(model, iris) eval <- evaluate(model, adjust_class_label(iris$Species), pred) eval$metrics }
Run the code above in your browser using DataLab