| fit.grid_search | R Documentation | 
grid_search to the training dataJulia Equivalent:
IAI.fit!
## S3 method for class 'grid_search'
fit(obj, X, ...)
| obj | The grid search to fit. | 
| X | 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. | 
## Not run: 
X <- iris[, 1:4]
y <- iris$Species
grid <- iai::grid_search(
    iai::optimal_tree_classifier(max_depth = 1),
)
iai::fit(grid, X, y)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.