-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
51 lines (36 loc) · 940 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
setup:
@echo "Creating virtual environment"
python -m venv .venv
powershell -noexit -executionpolicy bypass .venv/Scripts/activate.ps1
install:
@echo "Installing poetry, pip, setuptools, wheel"
python -m pip install --upgrade pip setuptools wheel
pip install poetry
install_poetry:
@echo "Installing poetry..."
poetry install
poetry run pre-commit install
install_all: setup install install_poetry
activate:
powershell -noexit -executionpolicy bypass .venv/Scripts/activate.ps1
test:
pytest
git-status:
git add .
git status
git-push:
git commit -m "update"
git push
process:
@echo "Processing data..."
python src/process.py
select_reg:
@echo "Training regressors with CV"
python src/select_regressor.py
train_hyperopt:
@echo "Evaluating hyperopt with CV"
python src/train_hyperopt.py
train_model:
@echo "Training model"
python src/train_model.py
pipeline: process select_reg train_hyperopt train_model