The JSON serializable storage model of a complete SVMModel object, which contains the inner model, the range transform and the class label factors.
SvmModelJSON
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| CreateJSONModel | 1 | Create the JSON storage model from a trained SVMModel object. |
| ToString | 1 | Display this storage model as a json string. |
| CreateSVMModel | 1 | Restore the trained SVMModel object from this JSON storage model. |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| model | 1 | The JSON data model of the inner LibSVM model. |
| rangeTransform | 1 | The JSON data model of the range transform, it is Nothing when the transform of the source model is not a SvmModelJSON.rangeTransform. |
| gaussianTransform | 1 | The JSON data model of the gaussian transform, it is Nothing when the transform of the source model is not a SvmModelJSON.gaussianTransform. |
| factors | 1 | The color definition of each class label. |
04 Members
Create the JSON storage model from a trained SVMModel object.
| Name | Type | Description |
|---|---|---|
svm | SVMModel | The trained support vector machine model. |
A SvmModelJSON object which is ready for JSON serialization.
Display this storage model as a json string.
A json text which describes this model.
Restore the trained SVMModel object from this JSON storage model.
A SVMModel object which is reconstructed from the JSON data.
The JSON data model of the inner LibSVM model.
A SvmModelJSON.model object.
The JSON data model of the range transform, it is Nothing when the transform of the source model is not a SvmModelJSON.rangeTransform.
A RangeTransformModel object.
The JSON data model of the gaussian transform, it is Nothing when the transform of the source model is not a SvmModelJSON.gaussianTransform.
A GaussianTransformModel object.
The color definition of each class label.
An array of the ColorClass objects.