cancel
Showing results for 
Search instead for 
Did you mean: 

Does Unico-GUI support only decision trees for Machine Learning Core? Can random forest be used instead of single decision tree?

Evelina CAMILLERI
ST Employee
 
1 ACCEPTED SOLUTION

Accepted Solutions
Luca SEGHIZZI
Senior

Since the Machine Learning Core in LSM6DSOX supports only decision trees as machine learning models, Unico-GUI generates only decision trees as classifier for this device.

However, considering that the MLC in LSM6DSOX can run up to eight different decision trees in parallel, generating outputs in different registers (MLC0_SRC, MLC1_SRC, MLC2_SRC, etc), it is possible to read the outputs of the different trees and try to combine the results in a custom way at MCU level.

The sensor itself is able to run the decision trees in parallel and the user can decide which decision tree has to generate an interrupt through the MLC_INT1 / MLC_INT2 registers.

View solution in original post

1 REPLY 1
Luca SEGHIZZI
Senior

Since the Machine Learning Core in LSM6DSOX supports only decision trees as machine learning models, Unico-GUI generates only decision trees as classifier for this device.

However, considering that the MLC in LSM6DSOX can run up to eight different decision trees in parallel, generating outputs in different registers (MLC0_SRC, MLC1_SRC, MLC2_SRC, etc), it is possible to read the outputs of the different trees and try to combine the results in a custom way at MCU level.

The sensor itself is able to run the decision trees in parallel and the user can decide which decision tree has to generate an interrupt through the MLC_INT1 / MLC_INT2 registers.