learnBinaryRule: Function to learn a binary classification rule In VHDClassification: Discrimination/Classification in very high dimension with linear and quadratic rules.

Description

Function to learn a binary classification rule. For more than two class, use learnPartitionWithLLR instead. The learned rule can be linear or quadratic. There are reduction dimension methods (accessible via argument procedure) to make the procedure efficient when the number of features is larger than the number of observations

Usage

 1 2 learnBinaryRule(x, y,type='linear', procedure = "FDRThresh", covariance = "diagonal", ql = NULL, qq = NULL,prior=FALSE)

Arguments

 x The Matrix with input data of size pxn (p feature space dimension, and n number of observations) y A vector of n factors with 2 LEVELS (labels) associated to observations (can also be numeric) type 'quadratic' or 'linear' are valid types. procedure Procedure gives the used procedure to reduce the dimensionality of the estimated NormalVector and FormVector. use 'noThresh' for no dimensionality reduction. UnivTresh is the universal threshold and FDRThresh is an FDR thresolding procedure. When type=='linear' 'FANThresh' and 'FDRstudent' are also available. For type linear, the thresholding procedures are fully described in the Paper "Fast rate of convergence in high dimensional linear discriminant analysis" covariance Unused argument ... further development comming soon ql The parameter associated to the thresholding procedure for the estimation of NormalVector. If a vector of values is given a 10 fold cross validation is performed qq The parameter associated to the thresholding procedure for the estimation of FormVector (only when type='quadratic'). If a vector of values is given a 10 fold cross validation is performed prior Do we put a prior on y (taking into account the proportion of the different class in the learning set to build the classification rule

Value

A classification rule of class LinearRule if type='linear' and of class QuadraticRule if type='quadratic'.

Robin Girard

References

Fast rate of convergence in high dimensional linear discriminant analysis. R. Girard To appear in Journal of Nonparametric Statistics.\ Very high dimensional discriminant analysis with thresholding estimation. R. Girard. Submitted.