CMSIS-DSP  
CMSIS DSP Software Library
arm_svm_example_f32.c File Reference

Macros

#define NB_SUPPORT_VECTORS   11
 
#define VECTOR_DIMENSION   2
 

Functions

int32_t main (void)
 

Variables

arm_svm_polynomial_instance_f32 params
 
const float32_t dualCoefficients [11]
 
const float32_t supportVectors [11 *2]
 
const int32_t classes [2] ={0,1}
 

Macro Definition Documentation

◆ NB_SUPPORT_VECTORS

#define NB_SUPPORT_VECTORS   11

◆ VECTOR_DIMENSION

#define VECTOR_DIMENSION   2

Function Documentation

◆ main()

int32_t main ( void  )

Variable Documentation

◆ classes

const int32_t classes[2] ={0,1}

◆ dualCoefficients

const float32_t dualCoefficients[11]
Initial value:
={-0.01628988f, -0.0971605f,
-0.02707579f, 0.0249406f, 0.00223095f, 0.04117345f,
0.0262687f, 0.00800358f, 0.00581823f, 0.02346904f, 0.00862162f}
Examples
arm_svm_example_f32.c.

◆ params

◆ supportVectors

const float32_t supportVectors[11 *2]
Initial value:
={ 1.2510991f, 0.47782799f,
-0.32711859f, -1.49880648f, -0.08905047f, 1.31907242f,
1.14059333f, 2.63443767f, -2.62561524f, 1.02120701f,
-1.2361353f, -2.53145187f,
2.28308122f, -1.58185875f, 2.73955981f, 0.35759327f,
0.56662986f, 2.79702016f,
-2.51380816f, 1.29295364f, -0.56658669f, -2.81944734f}
Examples
arm_svm_example_f32.c.