/cat-predict

Primary LanguageJupyter Notebook

Cat Prediction

Can ML predict where my cat is now?

Train a model to predict where Snowy would go throughout her day.

For an overview see Towards Data Science blog Can ML predict where my cat is now?

Data

Setup Postgres

cd data
docker compose up -d

DBT

Setup dbt

cd cat_predict_dbt
export DBT_PROFILES_DIR=$(pwd)
dbt debug

-- documentation
dbt docs generate
dbt docs serve

Notebooks

cd notebooks

Setup

Ensure Python 3, virtualenv and pip are installed.

which python3

virtualenv -p `which python3` venv
source venv/bin/activate
python --version
pip --version
pip install -r requirements.txt 

Running JupyterLab

jupyter lab

Streamlit

See https://github.com/saubury/cat-predict-app

References