Spaces:
No application file
No application file
Update Makefile
Browse files
Makefile
CHANGED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
install:
|
2 |
+
pip install --upgrade pip &&\
|
3 |
+
pip install -r requirements.txt
|
4 |
+
|
5 |
+
format:
|
6 |
+
black *.py
|
7 |
+
|
8 |
+
train:
|
9 |
+
python train.py
|
10 |
+
|
11 |
+
eval:
|
12 |
+
echo "## Model Metrics" > report.md
|
13 |
+
cat ./Results/metrics.txt >> report.md
|
14 |
+
|
15 |
+
echo '\n## Confusion Matrix Plot' >> report.md
|
16 |
+
echo '![Confusion Matrix](./Results/model_results.png)' >> report.md
|
17 |
+
|
18 |
+
cml comment create report.md
|