The JSON serializable data model of a trained LibSVM model.
Model
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| CreateJSONModel | 1 | Create the JSON data model from a trained LibSVM model object. |
| CreateModel | 1 | Restore the trained LibSVM model object from this JSON data model. |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| parameter | 1 | Parameter object. |
| numberOfClasses | 1 | Number of classes in the model. |
| supportVectorCount | 1 | Total number of support vectors. |
| supportVectors | 1 | The support vectors. |
| supportVectorCoefficients | 1 | The coefficients for the support vectors. |
| supportVectorIndices | 1 | Values in [1,...,num_training_data] to indicate SVs in the training set |
| rho | 1 | Constants in decision functions |
| pairwiseProbabilityA | 1 | First pairwise probability. |
| pairwiseProbabilityB | 1 | Second pairwise probability. |
| classLabels | 1 | Class labels. |
| numberOfSVPerClass | 1 | Number of support vectors per class. |
| dimensionNames | 1 | The names of the feature dimensions of the training data. |
| trainingSize | 1 | The number of the samples which was used for training this model. |
04 Members
Create the JSON data model from a trained LibSVM model object.
A Model data model which is ready for JSON serialization.
Restore the trained LibSVM model object from this JSON data model.
A Model object which is reconstructed from the JSON data.
Parameter object.
Number of classes in the model.
Total number of support vectors.
The support vectors.
The coefficients for the support vectors.
Values in [1,...,num_training_data] to indicate SVs in the training set
Constants in decision functions
First pairwise probability.
Second pairwise probability.
Class labels.
Number of support vectors per class.
The names of the feature dimensions of the training data.
An array of the dimension names.
The number of the samples which was used for training this model.
An Int32 value.