Discriminant analysis classifier template
returns
a discriminant analysis learner template suitable for training ensembles
or error-correcting output code (ECOC) multiclass models.t
= templateDiscriminant()
If you specify a default template, then the software uses default values for all input arguments during training.
Specify t
as a learner in fitcensemble
or fitcecoc
.
creates
a template with additional options specified by one or more name-value
pair arguments.t
= templateDiscriminant(Name,Value
)
For example, you can specify the discriminant type or the regularization parameter.
If you display t
in the Command Window, then
all options appear empty ([]
), except those that
you specify using name-value pair arguments. During training, the
software uses default values for empty options.
ClassificationDiscriminant
| fitcecoc
| fitcensemble
| predict