Skip to main content
Evelina CAMILLERI
ST Employee
October 4, 2022
Solved

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

  • October 4, 2022
  • 1 reply
  • 907 views

..

This topic has been closed for replies.
Best answer by Luca SEGHIZZI

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.

1 reply

Luca SEGHIZZI
Luca SEGHIZZIBest answer
Senior
October 4, 2022

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.