Learn R Programming

gencve (version 0.3)

yh_qda: QDA Prediction

Description

Given training data and test examples, the QDA predictions for the test data are produced.

Usage

yh_qda(dfTr, dfTe)

Arguments

dfTr
dataframe with last column for the output. The output must be a factor.
dfTe
dataframe for test data. Must have columns corresponding to the training columns except the test output is not needed.

Value

tba. Not fully implemented yet.

Examples

Run this code
require("MASS")
yh_qda(SinghTrain[,c(1:10, 101)], SinghTest[,c(1:10, 101)])#0.0588

Run the code above in your browser using DataLab