Andrea Maldonado commited on
Commit
fc285b0
·
1 Parent(s): f190c20

Adds provisory evaluation plotter

Browse files
.github/workflows/test_gedi.yml CHANGED
@@ -109,6 +109,32 @@ jobs:
109
  run:
110
  python main.py -o config_files/options/baseline.json -a config_files/algorithm/augmentation.json
111
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  test_integration:
113
  runs-on: ubuntu-latest
114
 
 
109
  run:
110
  python main.py -o config_files/options/baseline.json -a config_files/algorithm/augmentation.json
111
 
112
+ test_evaluation-plotter:
113
+ runs-on: ubuntu-latest
114
+
115
+ # Setting up a python envronment for the test script to run
116
+ steps:
117
+ - name: Checkout code
118
+ uses: actions/checkout@v4
119
+
120
+ - name: Set up Python
121
+ uses: actions/setup-python@v5
122
+ with:
123
+ python-version: 3.9
124
+
125
+ - name: Install dependencies
126
+ run: |
127
+ sudo apt-get install build-essential python3 python3-dev
128
+
129
+ - name: Install feeed
130
+ run: |
131
+ python -m pip install --upgrade pip
132
+ pip install .
133
+
134
+ - name: Run test
135
+ run:
136
+ python main.py -o config_files/options/baseline.json -a config_files/algorithm/evaluation_plotter.json
137
+
138
  test_integration:
139
  runs-on: ubuntu-latest
140
 
config_files/algorithm/evaluation_plotter.json CHANGED
@@ -2,16 +2,18 @@
2
  {
3
  "pipeline_step": "evaluation_plotter",
4
  "input_path": "output/features/generated/34_bpic_features/",
5
- "input_path": "output/features/generated/grid_1obj/1_enve_feat.csv",
6
  "input_path": "output/features/generated/grid_2obj/",
7
  "input_path": ["output/features/generated/grid_1obj/", "output/features/generated/grid_2obj/"],
8
- "output_path": "output/plots",
 
9
  "reference_feature": "epa_normalized_sequence_entropy",
10
- "reference_feature": "epa_normalized_variant_entropy",
11
  "reference_feature": "epa_normalized_sequence_entropy_exponential_forgetting",
 
12
  "targets": "data/34_bpic_features.csv",
13
- "targets": "data/grid_experiments/grid_1obj/grid_1objectives_enve.csv",
14
  "targets": "data/grid_experiments/grid_2obj/",
15
- "targets": ["data/grid_experiments/grid_1obj/", "data/grid_experiments/grid_2obj/"]
 
 
 
16
  }
17
  ]
 
2
  {
3
  "pipeline_step": "evaluation_plotter",
4
  "input_path": "output/features/generated/34_bpic_features/",
 
5
  "input_path": "output/features/generated/grid_2obj/",
6
  "input_path": ["output/features/generated/grid_1obj/", "output/features/generated/grid_2obj/"],
7
+ "input_path": "output/features/generated/grid_1obj/1_enve_feat.csv",
8
+ "input_path": "data/test/plotter/1_enve_feat.csv",
9
  "reference_feature": "epa_normalized_sequence_entropy",
 
10
  "reference_feature": "epa_normalized_sequence_entropy_exponential_forgetting",
11
+ "reference_feature": "epa_normalized_variant_entropy",
12
  "targets": "data/34_bpic_features.csv",
 
13
  "targets": "data/grid_experiments/grid_2obj/",
14
+ "targets": ["data/grid_experiments/grid_1obj/", "data/grid_experiments/grid_2obj/"],
15
+ "targets": "data/grid_experiments/grid_1obj/grid_1objectives_enve.csv",
16
+ "targets": "data/test/plotter/grid_1objectives_enve.csv",
17
+ "output_path": "output/plots"
18
  }
19
  ]