Functions | |
void | arm_svm_linear_init_f16 (arm_svm_linear_instance_f16 *S, uint32_t nbOfSupportVectors, uint32_t vectorDimension, float16_t intercept, const float16_t *dualCoefficients, const float16_t *supportVectors, const int32_t *classes) |
SVM linear instance init function. | |
void | arm_svm_linear_init_f32 (arm_svm_linear_instance_f32 *S, uint32_t nbOfSupportVectors, uint32_t vectorDimension, float32_t intercept, const float32_t *dualCoefficients, const float32_t *supportVectors, const int32_t *classes) |
SVM linear instance init function. | |
void | arm_svm_linear_predict_f16 (const arm_svm_linear_instance_f16 *S, const float16_t *in, int32_t *pResult) |
SVM linear prediction. | |
void | arm_svm_linear_predict_f32 (const arm_svm_linear_instance_f32 *S, const float32_t *in, int32_t *pResult) |
SVM linear prediction. | |
Linear SVM classifier
void arm_svm_linear_init_f16 | ( | arm_svm_linear_instance_f16 * | S, |
uint32_t | nbOfSupportVectors, | ||
uint32_t | vectorDimension, | ||
float16_t | intercept, | ||
const float16_t * | dualCoefficients, | ||
const float16_t * | supportVectors, | ||
const int32_t * | classes | ||
) |
SVM linear instance init function.
Classes are integer used as output of the function (instead of having -1,1 as class values).
[in] | S | Parameters for the SVM function |
[in] | nbOfSupportVectors | Number of support vectors |
[in] | vectorDimension | Dimension of vector space |
[in] | intercept | Intercept |
[in] | dualCoefficients | Array of dual coefficients |
[in] | supportVectors | Array of support vectors |
[in] | classes | Array of 2 classes ID |
void arm_svm_linear_init_f32 | ( | arm_svm_linear_instance_f32 * | S, |
uint32_t | nbOfSupportVectors, | ||
uint32_t | vectorDimension, | ||
float32_t | intercept, | ||
const float32_t * | dualCoefficients, | ||
const float32_t * | supportVectors, | ||
const int32_t * | classes | ||
) |
SVM linear instance init function.
Classes are integer used as output of the function (instead of having -1,1 as class values).
[in] | S | Parameters for the SVM function |
[in] | nbOfSupportVectors | Number of support vectors |
[in] | vectorDimension | Dimension of vector space |
[in] | intercept | Intercept |
[in] | dualCoefficients | Array of dual coefficients |
[in] | supportVectors | Array of support vectors |
[in] | classes | Array of 2 classes ID |
void arm_svm_linear_predict_f16 | ( | const arm_svm_linear_instance_f16 * | S, |
const float16_t * | in, | ||
int32_t * | pResult | ||
) |
SVM linear prediction.
[in] | S | Pointer to an instance of the linear SVM structure. |
[in] | in | Pointer to input vector |
[out] | pResult | Decision value |
void arm_svm_linear_predict_f32 | ( | const arm_svm_linear_instance_f32 * | S, |
const float32_t * | in, | ||
int32_t * | pResult | ||
) |
SVM linear prediction.
[in] | S | Pointer to an instance of the linear SVM structure. |
[in] | in | Pointer to input vector |
[out] | pResult | Decision value |