The sole purpose of this application for now is to track my daily activities, and the ratings I give to either those activities, or the days themselves as a whole. These ratings coupled with daily events will generate patterns that allow me to find events that have a negative impact on my daily well being (i.e. events that consistently lead to a negative score).
The project also coincides with my intereset in data and extracting patterns that can be used to support optimization and long term oriented planning. Visualizing data sets is a large component of this and I am keen on adding that in as well.
A minimal web interface is up and running at www.dailydata.me using pythonanywhere. A demo account is available with username: demo, password: demo
Clone this repository with git clone git@github.com:EternalGoldenBraid/daily.git
.
Initialize a virtual environment within daily/
to prevent your main system's python packages from interfering: python -m venv env
.
Activate the virtual environment with source /daily/env/bin/activate
.
Install required python packages with from daily/requirements.txt with pip install -r requirements.txt
.
Set the environmental FLASK_APP
variable with export FLASK_APP=daily
.
Run the application with flask run
and test using the provided URL.
- Add data visualization
- Asychronous parallel processing of data when big operations: https://docs.python.org/3/library/concurrent.futures.html
- Plot frequency plots for tags. Minimal working model (MWM) up.
- Plot eigenvalues for tags. MWM up.
- Find eigentags and eigendays. Can I use the covariance matrix of tag distributions across days to compose and eigenday using Principal componen analysis (PCA).
- Create a Bayesian (generative) model to predict
sleep_rating
andrating
given atag
vector.
-
Read and setup from SQLAlchemy, Flask and it's plugins' Documentation
-
Create database models
-
Deploy to cloud
-
Implement a web UI
-
Add timestamps for event inputs and edits.
-
Add multi-user support
- Add user_id relationships to association tables.
- Add buttons for graphs. Currently /data works as a path for a single page image.
-
Add an about page. This readme?
-
Configure Database backups
- https://realpython.com/python-requests/#the-response
- Foundations of Flask
- SVD/PCA For genetics. Does a gene correspond to tag? A day to a participant? Why? Why not?