Spaces:
Sleeping
Sleeping
Merge pull request #15 from andreamalhera/10-feature-selection-visualisation-of-genel-target-diff
Browse files- .github/workflows/test_gedi.yml +2 -2
- data/validation/genELexperiment1_04_02.json +1 -1
- data/validation/genELexperiment2_07_04.json +1 -1
- data/validation/{genELexperiment3_04.json → genELexperiment3_04_nan.json} +1 -1
- data/validation/genELexperiment4_02.json +0 -1
- data/validation/genELexperiment4_nan_02.json +1 -0
- gedi/generator.py +2 -1
.github/workflows/test_gedi.yml
CHANGED
@@ -71,11 +71,11 @@ jobs:
|
|
71 |
|
72 |
- name: Compare output 3
|
73 |
run:
|
74 |
-
diff data/validation/
|
75 |
|
76 |
- name: Compare output 4
|
77 |
run:
|
78 |
-
diff data/validation/
|
79 |
|
80 |
test_benchmark:
|
81 |
runs-on: ubuntu-latest
|
|
|
71 |
|
72 |
- name: Compare output 3
|
73 |
run:
|
74 |
+
diff data/validation/genELexperiment3_04_nan.json output/features/grid_feat/2_enself_rt20v/genELexperiment3_04_nan.json
|
75 |
|
76 |
- name: Compare output 4
|
77 |
run:
|
78 |
+
diff data/validation/genELexperiment4_nan_02.json output/features/grid_feat/2_enself_rt20v/genELexperiment4_nan_02.json
|
79 |
|
80 |
test_benchmark:
|
81 |
runs-on: ubuntu-latest
|
data/validation/genELexperiment1_04_02.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"ratio_top_20_variants": 0.20017714791851196, "epa_normalized_sequence_entropy_linear_forgetting": 0.052097205658647734, "log": "
|
|
|
1 |
+
{"ratio_top_20_variants": 0.20017714791851196, "epa_normalized_sequence_entropy_linear_forgetting": 0.052097205658647734, "log": "genELexperiment1_04_02"}
|
data/validation/genELexperiment2_07_04.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"ratio_top_20_variants": 0.38863337713534823, "epa_normalized_sequence_entropy_linear_forgetting": 0.052097205658647734, "log": "
|
|
|
1 |
+
{"ratio_top_20_variants": 0.38863337713534823, "epa_normalized_sequence_entropy_linear_forgetting": 0.052097205658647734, "log": "genELexperiment2_07_04"}
|
data/validation/{genELexperiment3_04.json → genELexperiment3_04_nan.json}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
{"epa_normalized_sequence_entropy_linear_forgetting": 0.052097205658647734, "log": "
|
|
|
1 |
+
{"epa_normalized_sequence_entropy_linear_forgetting": 0.052097205658647734, "log": "genELexperiment3_04_nan"}
|
data/validation/genELexperiment4_02.json
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
{"ratio_top_20_variants": 0.2, "log": "experiment4"}
|
|
|
|
data/validation/genELexperiment4_nan_02.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"ratio_top_20_variants": 0.2, "log": "genELexperiment4_nan_02"}
|
gedi/generator.py
CHANGED
@@ -220,8 +220,9 @@ class GenerateEventLogs():
|
|
220 |
#TODO: Replace hotfix
|
221 |
if features_to_dump.get('ratio_unique_traces_per_trace'):#HOTFIX
|
222 |
features_to_dump['ratio_variants_per_number_of_traces']=features_to_dump.pop('ratio_unique_traces_per_trace')
|
223 |
-
features_to_dump['log']
|
224 |
dump_features_json(features_to_dump, save_path)
|
|
|
225 |
return log_config
|
226 |
|
227 |
def generate_optimized_log(self, config):
|
|
|
220 |
#TODO: Replace hotfix
|
221 |
if features_to_dump.get('ratio_unique_traces_per_trace'):#HOTFIX
|
222 |
features_to_dump['ratio_variants_per_number_of_traces']=features_to_dump.pop('ratio_unique_traces_per_trace')
|
223 |
+
features_to_dump['log']= os.path.split(save_path)[1].split(".")[0]
|
224 |
dump_features_json(features_to_dump, save_path)
|
225 |
+
|
226 |
return log_config
|
227 |
|
228 |
def generate_optimized_log(self, config):
|