This repository contains the codebase for collecting, processing, visualizing, and classifying IMU sensor signals from a bear interaction enrichment activity system.
- IMU data collection on M5StickC Plus2 (
m5stick/) - Signal preprocessing and ELAN export utilities (
Data collection/) - Plotting and activity classification scripts (
Plotting/) - Activity classes used in experiments:
poke,sway,tilt,spin
m5stick/: Firmware sketches for on-device IMU capture and retrievalData collection/: Raw/processed datasets, behavior sessions, ELAN formatting scripts, and graph outputsPlotting/: Visualization scripts, confusion matrix generation, and decision-tree based activity classification
- Install Python dependencies:
pandasnumpymatplotlibscikit-learn
- Run plotting/classification scripts from the
Plotting/directory, for example:python plot.pypython confusion-matrix.pypython decision-tress.py
- Generated and raw files are kept in their original folders for reproducibility.
- This repo is focused on bear interaction activity classification and IMU signal processing artifacts.



