Skip to content

Commit bc4876a

Browse files
Create config.py with model parameters and paths
Added configuration parameters for model training and data paths.
1 parent 9bf7132 commit bc4876a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

config.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Configuration file - all parameters in one place
2+
RANDOM_STATE = 42
3+
K_RANGE = range(2, 11)
4+
PCA_COMPONENTS = 2
5+
DBSCAN_EPS = 1.2
6+
DBSCAN_MIN_SAMPLES = 10
7+
8+
FEATURES_BASE = [
9+
'H Shots', 'A Shots', 'H SOT', 'A SOT',
10+
'H Fouls', 'A Fouls', 'H Yellow', 'A Yellow',
11+
'H Red', 'A Red', 'H Corners', 'A Corners'
12+
]
13+
14+
TRAIN_TEST_SPLIT = 0.2
15+
RF_N_ESTIMATORS = 400
16+
17+
# Paths
18+
DATA_PATH = "data/england.csv"
19+
RESULTS_PATH = "results/"

0 commit comments

Comments
 (0)