Description Usage Arguments Details Value Examples
This function search the best Discriminant Analysis (DA) between LDA
and QDA
.
1 2 |
formula |
A formula of the form |
data |
Data frame from which variables specified in |
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 |
... |
arguments passed to |
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.
An object of class Optim
. See Optim.object
1 2 3 4 5 6 7 | if(interactive()){
## Load a Dataset
data(AustralianCredit)
## Generate a Model
modelFit <- Optim.DA(Y~., AustralianCredit, p = 0.7, seed=2018)
modelFit
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.