computeCoeffSVMLin: Compute other prediction scores such as precision, recall and...

View source: R/global.lib.R

computeCoeffSVMLinR Documentation

Compute other prediction scores such as precision, recall and f-score

Description

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.


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