CMSIS-DSP  
CMSIS DSP Software Library
 
Loading...
Searching...
No Matches
Sigmoid SVM

Functions

void arm_svm_sigmoid_init_f16 (arm_svm_sigmoid_instance_f16 *S, uint32_t nbOfSupportVectors, uint32_t vectorDimension, float16_t intercept, const float16_t *dualCoefficients, const float16_t *supportVectors, const int32_t *classes, float16_t coef0, float16_t gamma)
 SVM sigmoid instance init function.
 
void arm_svm_sigmoid_init_f32 (arm_svm_sigmoid_instance_f32 *S, uint32_t nbOfSupportVectors, uint32_t vectorDimension, float32_t intercept, const float32_t *dualCoefficients, const float32_t *supportVectors, const int32_t *classes, float32_t coef0, float32_t gamma)
 SVM sigmoid instance init function.
 
void arm_svm_sigmoid_predict_f16 (const arm_svm_sigmoid_instance_f16 *S, const float16_t *in, int32_t *pResult)
 SVM sigmoid prediction.
 
void arm_svm_sigmoid_predict_f32 (const arm_svm_sigmoid_instance_f32 *S, const float32_t *in, int32_t *pResult)
 SVM sigmoid prediction.
 

Description

Sigmoid SVM classifier

Function Documentation

◆ arm_svm_sigmoid_init_f16()

void arm_svm_sigmoid_init_f16 ( arm_svm_sigmoid_instance_f16 S,
uint32_t  nbOfSupportVectors,
uint32_t  vectorDimension,
float16_t  intercept,
const float16_t *  dualCoefficients,
const float16_t *  supportVectors,
const int32_t *  classes,
float16_t  coef0,
float16_t  gamma 
)

SVM sigmoid instance init function.

Classes are integer used as output of the function (instead of having -1,1 as class values).

Parameters
[in]Spoints to an instance of the rbf SVM structure.
[in]nbOfSupportVectorsNumber of support vectors
[in]vectorDimensionDimension of vector space
[in]interceptIntercept
[in]dualCoefficientsArray of dual coefficients
[in]supportVectorsArray of support vectors
[in]classesArray of 2 classes ID
[in]coef0coeff0 (scikit-learn terminology)
[in]gammagamma (scikit-learn terminology)

◆ arm_svm_sigmoid_init_f32()

void arm_svm_sigmoid_init_f32 ( arm_svm_sigmoid_instance_f32 S,
uint32_t  nbOfSupportVectors,
uint32_t  vectorDimension,
float32_t  intercept,
const float32_t dualCoefficients,
const float32_t supportVectors,
const int32_t *  classes,
float32_t  coef0,
float32_t  gamma 
)

SVM sigmoid instance init function.

Classes are integer used as output of the function (instead of having -1,1 as class values).

Parameters
[in]Spoints to an instance of the rbf SVM structure.
[in]nbOfSupportVectorsNumber of support vectors
[in]vectorDimensionDimension of vector space
[in]interceptIntercept
[in]dualCoefficientsArray of dual coefficients
[in]supportVectorsArray of support vectors
[in]classesArray of 2 classes ID
[in]coef0coeff0 (scikit-learn terminology)
[in]gammagamma (scikit-learn terminology)

◆ arm_svm_sigmoid_predict_f16()

void arm_svm_sigmoid_predict_f16 ( const arm_svm_sigmoid_instance_f16 S,
const float16_t *  in,
int32_t *  pResult 
)

SVM sigmoid prediction.

Parameters
[in]SPointer to an instance of the rbf SVM structure.
[in]inPointer to input vector
[out]pResultDecision value

◆ arm_svm_sigmoid_predict_f32()

void arm_svm_sigmoid_predict_f32 ( const arm_svm_sigmoid_instance_f32 S,
const float32_t in,
int32_t *  pResult 
)

SVM sigmoid prediction.

Parameters
[in]SPointer to an instance of the rbf SVM structure.
[in]inPointer to input vector
[out]pResultDecision value