Hello,
Can I implement Random forest classifier on STM32 MPU , if yes , which one you suggest ,
Thanks
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-11-12 1:35 AM
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-11-17 8:27 AM
Dear @TAlmu.1 ,
As of today, STMicroelectronics is providing a X-LINUX-AI expansion package that is supporting Neural Network framework:
Unfortunately, the Random Forest is not yet part of the X-LINUX-AI expansion package.
Nevertheless I recommend the following setup to move forward:
- Scikit-learn can be used on host PC to train and generate a random forest classifier model
- The sklearn model can be then exported into ONNX format.
- Last point is to build ONNX runtime for the STM32MP1 target in order to run the ONNX random forest model on the STM32MP1 target. To do so, the best way is to install the STM32MP1 OpenSTLinux distribution with the X-LINUX-AI expansion package and to create a new recipe for onnx runtime.
- installation of the X-LINUX-AI inside the Distribution package can be found here: X-LINUX-AI OpenSTLinux Expansion Package - stm32mpu
- here is an example of an onnx runtime meta-layer: GitHub - tkfu/meta-onnx: Minimal Yocto layer to RPROVIDE the ONNX runtime
For your information , ONNX runtime is planned to be supported mid 2022 for the STM32MP1.
BR
Vincent
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
