runClassifier | R Documentation |
This function runs a classifier in a given dataset
runClassifier(X, y, clf, x_test = NULL, y_test = NULL)
X: |
The dataset to classify |
y: |
The variable to predict |
clf: |
The classifier object containing the different settings of the classifier. |
x_test: |
if not NULL (default) this dataset will be used to evaluate the models in a subset for the feature importance |
y_test: |
if not NULL (default) this dataset will be used to evaluate the models in a subset for the feature importance |
the classifier along with the classification results as a sub-element
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.