Data frame from which variables specified in formula are preferentially to be taken.
p
A percentage of training elements
criteria
Select criterion to use.
includedata
logicals. If TRUE the training and testing datasets are returned.
seed
a single value, interpreted as an integer, or NULL. The default value is NULL, but for future checks of the model or models generated it is advisable to set a random seed to be able to reproduce it.
LDA and QDA are distribution-based classifiers with the assumption that data follows
a multivariate normal distribution.
LDA differs from QDA in the assumption about the class variability. LDA assumes that all classes share the same within-class covariance matrix whereas QDA allows for distinct within-class covariance matrices.
# NOT RUN {if(interactive()){
## Load a Datasetdata(AustralianCredit)
## Generate a ModelmodelFit <- Optim.DA(Y~., AustralianCredit, p = 0.7, seed=2018)
modelFit
}
# }