#include <svm_model.h>

Public Attributes | |
| int | n_support |
| Number of support vectors. More... | |
| int | n_cols |
| Number of features. More... | |
| math_t | b |
| Constant used in the decision function. More... | |
| math_t * | dual_coefs |
| SupportStorage< math_t > | support_matrix |
| Support vector storage - can contain either CSR or dense. More... | |
| int * | support_idx |
| Indices (from the training set) of the support vectors, size [n_support]. More... | |
| int | n_classes |
| math_t * | unique_labels |
| Device pointer for the unique classes. Size [n_classes]. More... | |
Parameters that describe a trained SVM model. All pointers are device pointers.
| math_t ML::SVM::SvmModel< math_t >::b |
Constant used in the decision function.
| math_t* ML::SVM::SvmModel< math_t >::dual_coefs |
Non-zero dual coefficients ( dual_coef[i] = \( y_i \alpha_i \)). Size [n_support].
| int ML::SVM::SvmModel< math_t >::n_classes |
Number of classes found in the input labels
| int ML::SVM::SvmModel< math_t >::n_cols |
Number of features.
| int ML::SVM::SvmModel< math_t >::n_support |
Number of support vectors.
| int* ML::SVM::SvmModel< math_t >::support_idx |
Indices (from the training set) of the support vectors, size [n_support].
| SupportStorage<math_t> ML::SVM::SvmModel< math_t >::support_matrix |
Support vector storage - can contain either CSR or dense.
| math_t* ML::SVM::SvmModel< math_t >::unique_labels |
Device pointer for the unique classes. Size [n_classes].