powered by
Tree-based classification/regression algorithm.
DecisionTree object
Provides functionality for DecisionTree operations.
VectorForgeML-package
model <- DecisionTree$new() X <- matrix(rnorm(20), nrow=10) y <- sample(0:1, 10, replace=TRUE) model$fit(X,y) model$predict(X)
Run the code above in your browser using DataLab