runClassifier: Runs the learning on a dataset

View source: R/predomics.R

runClassifierR Documentation

Runs the learning on a dataset

Description

This function runs a classifier in a given dataset

Usage

runClassifier(X, y, clf, x_test = NULL, y_test = NULL)

Arguments

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

Value

the classifier along with the classification results as a sub-element


predomics/predomicspkg documentation built on Dec. 11, 2024, 11:06 a.m.