compact
Reduce size of discriminant analysis classifier
Syntax
Description
returns a CMdl
= compact(Mdl
)CompactClassificationDiscriminant
version of the
trained discriminant analysis classifier Mdl
.
You can predict classifications using the
CompactClassificationDiscriminant
object CMdl
in the
same way as when you use Mdl
. However, because CMdl
does
not contain training data, you cannot perform some actions, such as cross-validation.
Examples
Input Arguments
Version History
Introduced in R2011b