Skip to contents

This function computes prediction scores based on the confusion matrix such as accuracy, precision, recall and f-score

Usage

computeCoeffSVMLin(X, y, clf = NULL, mod = NULL)

Arguments

X:

dataset to classify

y:

variable to predict

mod:

a predomics object to be updated

clf:

an object containing the different parameters of the classifier

Value

a model whose evaluation parameters are updated or a list containing coefficients and intercept if mod is not set.