Watch this video
https://www.facebook.com/edgeimpulseml/videos/3620148834744530/
Fix the dataset and get Andrew to test the export or use the one below.
The Arduino Motion library made last week. I had to edit some of the actions, since the Z-axis for some phones was negative.