test_lda: Learns and classifies using a Linear Discriminant Analysis...

Description Usage Arguments Value

Description

This function trains a LDA classifier on the training set and tests its accuracy on a test set. It reports the fit, prediction results, area under curve (AUC accuracy) on test, probability of belonging to predicted class, and original labels of test

Usage

1
test_lda(Xtrain, ytrain, Xtest, ytest)

Arguments

Xtrain

Predictor variables of training set

ytrain

Response variables of training set

Xtest

Predictor variables of test set

ytest

Response variables of test set

Value

A list with model fit, test results, AUC, probability per class, original labels


ssarda/genomeutils documentation built on May 30, 2019, 8:42 a.m.