Model of the classifier trained by the svm::training::Batch algorithm
More...
◆ Model() [1/2]
Constructs the SVM model
- Template Parameters
-
modelFPType | Data type to store SVM model data, double or float |
- Parameters
-
[in] | dummy | Dummy variable for the templated constructor |
[in] | nColumns | Number of features in input data |
[in] | layout | Data layout of the numeric table of support vectors |
- Deprecated:
- This item will be removed in a future release. Use Model::create instead.
◆ Model() [2/2]
Empty constructor for deserialization
- Deprecated:
- This item will be removed in a future release. Use Model::create instead.
◆ create() [1/2]
Constructs the SVM model
- Template Parameters
-
modelFPType | Data type to store SVM model data, double or float |
- Parameters
-
[in] | nColumns | Number of features in input data |
[in] | layout | Data layout of the numeric table of support vectors |
[out] | stat | Status of the model construction |
- Returns
- SVM model
◆ create() [2/2]
Constructs empty SVM model for deserialization
- Parameters
-
[out] | stat | Status of the model construction |
- Returns
- Empty SVM model for deserialization
◆ getBias()
virtual double getBias |
( |
| ) |
|
|
inlinevirtual |
Returns the bias constructed during the training of the SVM model
- Returns
- Bias
◆ getClassificationCoefficients()
data_management::NumericTablePtr getClassificationCoefficients |
( |
| ) |
|
|
inline |
Returns classification coefficients constructed during the training of the SVM model
- Returns
- Array of classification coefficients
◆ getNumberOfFeatures()
size_t getNumberOfFeatures |
( |
| ) |
const |
|
inlinevirtual |
Retrieves the number of features in the dataset was used on the training stage
- Returns
- Number of features in the dataset was used on the training stage
Implements Model.
◆ getSupportIndices()
data_management::NumericTablePtr getSupportIndices |
( |
| ) |
|
|
inline |
Returns indices of the support vectors constructed during the training of the SVM model
- Returns
- Array of support vectors indices
◆ getSupportVectors()
data_management::NumericTablePtr getSupportVectors |
( |
| ) |
|
|
inline |
Returns support vectors constructed during the training of the SVM model
- Returns
- Array of support vectors
◆ setBias()
virtual void setBias |
( |
double |
bias | ) |
|
|
inlinevirtual |
Sets the bias for the SVM model
- Parameters
-
The documentation for this class was generated from the following file: