-
Notifications
You must be signed in to change notification settings - Fork 16
/
Makefile
34 lines (23 loc) · 649 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
VENV=venv
BIN=$(VENV)/bin
# make it work on windows too
ifeq ($(OS), Windows_NT)
BIN=$(VENV)/Scripts
endif
$(BIN)/activate: requirements.txt
python3 -m venv $(VENV)
$(BIN)/pip install --upgrade pip
$(BIN)/pip install --upgrade -r requirements.txt
init: $(BIN)/activate
mkdir -p ./data/processed/test
mkdir -p ./data/processed/train
mkdir -p ./data/processed/val
mkdir -p ./data/raw
dataset: init
$(BIN)/python ./preprocessing/cicids2017.py
run: init
$(BIN)/python main.py --config ./configs/deepBeliefNetwork.json
$(BIN)/python main.py --config ./configs/multilayerPerceptron.json
clean:
rm -rf __pycache__
rm -rf $(VENV)