Skip to content

Commit 3e47019

Browse files
behzadkbehzadk
andauthored
Config update (#29)
Co-authored-by: behzadk <bezk@DESKTOP-NISN4AG>
1 parent eccae69 commit 3e47019

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

configs/demo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
data_dir: a_data_directory
1+
data_dir: /mnt/c/Users/behza/Documents/code/data/fpl_ml
22

33
# Directory where we want to write prepared data
44
processed_data_dir: ${data_dir}/demo_data/

configs/fpl_ml.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
data_dir: a_data_directory
1+
data_dir: /mnt/c/Users/behza/Documents/code/data/fpl_ml
22

33
# Directory where we want to write prepared data
44
processed_data_dir: ${data_dir}/processed/

configs/train/fpl_ml.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
_target_: fpl_ml_projects.fpl_ml.project_train.train_torch_tpe
1+
_target_: fpl_ml_projects.fpl_ml.project_train.train_svm
22
user_mlruns_dir: ${mlruns_dir}
33
train_val_data_path: ${processed_data_dir}train_val_data.csv
44
test_data_path: ${processed_data_dir}test_data.csv

fpl_ml_projects/fpl_ml_projects/default_config.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@ def make_default_sklearn_config_store():
5050

5151
config = hz.make_config(
5252
*zen_config,
53+
experiment_name="Test",
5354
hydra_defaults=[
5455
"_self_",
5556
{StoreGroups.USER.value: "default-cpu"},
56-
{StoreGroups.DATASET.value: "default-sklearn"},
57-
{StoreGroups.DATAMODULE.value: "default"},
57+
{StoreGroups.DATASET.value: "default"},
58+
{StoreGroups.DATAMODULE.value: "default-sklearn"},
5859
{StoreGroups.MODEL.value: "default_sklearn"},
5960
{StoreGroups.PREPROCESSING.value: "default"},
6061
{StoreGroups.DATA_SPLITTER.value: "default"},
@@ -80,6 +81,7 @@ def make_default_torch_config_store():
8081

8182
config = hz.make_config(
8283
*zen_config,
84+
experiment_name="Test",
8385
hydra_defaults=[
8486
"_self_",
8587
{StoreGroups.USER.value: "default-cpu"},

0 commit comments

Comments
 (0)