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

Macros

#define NB_OF_CLASSES   3
 
#define VECTOR_DIMENSION   2
 

Functions

int32_t main (void)
 

Variables

const float32_t theta [3 *2]
 
const float32_t sigma [3 *2]
 
const float32_t classPriors [3]
 

Macro Definition Documentation

◆ NB_OF_CLASSES

#define NB_OF_CLASSES   3

◆ VECTOR_DIMENSION

#define VECTOR_DIMENSION   2

Function Documentation

◆ main()

int32_t main ( void  )

Variable Documentation

◆ classPriors

const float32_t classPriors[3]
Initial value:
= {
0.3333333333333333f, 0.3333333333333333f, 0.3333333333333333f
}

Class prior probabilities

Examples
arm_bayes_example_f32.c.

◆ sigma

const float32_t sigma[3 *2]
Initial value:
= {
1.0063470889514925f, 0.9038018246524426f,
1.0224479953244736f, 0.7768764290432544f,
1.1217662403241206f, 1.2303890106020325f
}

Variances for the Gaussians

Examples
arm_bayes_example_f32.c.

◆ theta

const float32_t theta[3 *2]
Initial value:
= {
1.4539529436590528f, 0.8722776016801852f,
-1.5267934452462473f, 0.903204577814203f,
-0.15338006360932258f, -2.9997913665803964f
}

Mean values for the Gaussians

Examples
arm_bayes_example_f32.c.