Sensortile.box Machine learing with Unico GUI
Hello everyone,
I'm trying to use the sensortile box pro for an ML alghoritm.
My idea is to have a machine learning algorithm that can identify two types of vibrations: correct and fault.
Using the firmware loaded on the Sensortilebox Pro Datalog 2.1.1, I was able to obtain the values from the accelerometer and gyroscope lsm6dsv16x_gyro.csv and lsm6dsv16x_acc.csv along with those from all other sensors such as the magnetometer lis2mdl_mag.csv.
Using a Python script, I then verified that the timestamps for the accelerometer and gyroscope were the same and merged the CSV files but i cannot do the same with the magnetometer.
To create a decision tree, I have split the merged CSV into two different CSV files, one for each type of vibration: lsm6dsv16x_all_correct and lsm6dsv16x_all_fault.
Using the Unico_GUI software, I would like to generate the UCF file needed by the Sensortile to distinguish these vibrations. I followed the guide on GitHub for machine learning: https://github.com/STMicroelectronics/STMems_Machine_Learning_Core/blob/master/configuration_examples/example_1_sensortilebox_stble_unico/README.md

I select this configuration

Following the step this error occur to me but clicking yes it goes on

I upload both files with the correct label and fault label and here comes the first doubt,
If i upload the magnetometer file it gives me no data even if the file cvs is full, how can i upload the data from magnetometer?

Moving forward, I use this configuration:

with one decision tree, windows lenght of 52, no filter and the mean of acceletometer and gyroscope

The arff file is the generated without problem and same things with the ucf file that i call ml.ucf,
The problem arises when I try to upload the UCF file to the Sensortile (whether it's the Sensortile Box or the Sensortile Box Pro). I tried using Unicleo, but neither of the Sensortiles is recognized by the PC via Bluetooth, although they are recognized via USB, which Unicleo doesn't seem to use (?).
I then tried to upload the UCF file via the app (both Android and iPhone), but I get this error:

Someone can please help me? what did i do wrong?
