Main Content

Compact neural network model for classification

`CompactClassificationNeuralNetwork`

is a compact version of a
`ClassificationNeuralNetwork`

model object. The compact model does not include the
data used for training the classifier. Therefore, you cannot perform some tasks, such as
cross-validation, using the compact model. Use a compact model for tasks such as predicting
the labels of new data.

Create a `CompactClassificationNeuralNetwork`

object from a full `ClassificationNeuralNetwork`

model object by using `compact`

.

`fitcnet`

| `predict`

| `loss`

| `margin`

| `edge`

| `ClassificationPartitionedModel`

| `ClassificationNeuralNetwork`

| `compact`