powered by
Fits a grid search to the training data with cross-validation
fit_cv(grid, X, ...)
The grid to fit.
The features of the data.
Other parameters, including zero or more target vectors as required by the problem type. Refer to the Julia documentation for available parameters.
Julia Equivalent: IAI.fit_cv!
IAI.fit_cv!
# NOT RUN { X <- iris[, 1:4] y <- iris$Species iai::iai_setup() grid <- iai::grid_search( iai::optimal_tree_classifier(max_depth = 1), ) iai::fit_cv(grid, X, y) # }
Run the code above in your browser using DataLab