Pavlov is a real-time feedback app that uses EEG data from Muse 2 to make you more mindful. It detects when your mind drifts and provides a brief beep to refocus you, helping you stay present and aware.
- Clone the repository:
git clone https://github.com/Daisuke134/NF_MUSE.git
- Navigate to the cloned directory:
cd NF_MUSE - Install required libraries:
pip install -r requirements.txt
To start making real-time predictions, run:
python predict.py※Make sure your Muse device is connected and streaming data.
If you wish to evaluate the model's performance or retrain it with new data, follow these steps:
- Download the training data CSV:
curl -L -o training_data/01-18--22-41-05.csv "https://drive.google.com/uc?export=download&id=1InAOM7XTEpIAwKFhyzCfsYTwFx0rgFnz" - Generate training data text file from CSV:
python data.py
- Train and evaluate the Random Forest model(This will use the generated text file to train the model and output its performance metrics):
python model.py
Please feel free to contribute to the project by making a pull request or opening an issue.
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or support, please contact [keiodaisuke@gmail.com].