ErrorPredClass(CLEg)R Documentation

Utility function FitNNReg

Description

Utility

Usage

ErrorPredClass(Train, Test, Cl.Train, Cl.Test, Reg = plsr, ncomp = 5)

Arguments

Train Training sample
Test Test sample
Cl.Train Class in training data. Classes are given as -1 or 1.
Cl.Test Class in test data. Classes are given as -1 or 1.
Reg Method of regression, which can be plsr or pcr
ncomp Number of components taken in the pls/pc regression. For example, ncomp=5 means it will take components 1, 2, ..., 5.

Value

mis-classification rates

Author(s)

Shahidul Islam

See Also

FitNNReg

Examples






[Package CLEg version 2.0 Index]