Spaces:
Sleeping
Sleeping
Andrea Maldonado
commited on
Commit
·
08a0359
1
Parent(s):
57a7d1c
fixes paths for feature and benchmarks
Browse files- .conda.yml +82 -8
- gedi/benchmark.py +1 -1
- gedi/features.py +1 -1
.conda.yml
CHANGED
@@ -3,51 +3,116 @@ channels:
|
|
3 |
- conda-forge
|
4 |
- defaults
|
5 |
dependencies:
|
6 |
-
-
|
7 |
-
-
|
8 |
-
-
|
9 |
-
-
|
10 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
- pip:
|
12 |
- altair==5.3.0
|
|
|
13 |
- attrs==23.2.0
|
|
|
14 |
- blinker==1.8.2
|
|
|
15 |
- cachetools==5.4.0
|
|
|
16 |
- charset-normalizer==3.3.2
|
17 |
- click==8.1.7
|
18 |
- cloudpickle==3.0.0
|
|
|
19 |
- configspace==0.7.1
|
|
|
|
|
20 |
- cvxopt==1.3.2
|
21 |
- dask==2024.4.1
|
22 |
- dask-jobqueue==0.8.5
|
|
|
|
|
23 |
- deprecation==2.1.0
|
24 |
- distributed==2024.4.1
|
25 |
- emcee==3.1.4
|
|
|
26 |
- feeed==1.2.0
|
27 |
- fsspec==2024.3.1
|
|
|
28 |
- gitdb==4.0.11
|
29 |
- gitpython==3.1.43
|
|
|
30 |
- idna==3.7
|
|
|
|
|
31 |
- imbalanced-learn==0.12.2
|
32 |
- imblearn==0.0
|
33 |
- intervaltree==3.1.0
|
|
|
|
|
|
|
34 |
- jinja2==3.1.3
|
|
|
35 |
- jsonschema==4.23.0
|
36 |
- jsonschema-specifications==2023.12.1
|
|
|
|
|
|
|
37 |
- levenshtein==0.23.0
|
38 |
- llvmlite==0.42.0
|
39 |
- locket==1.0.0
|
40 |
- lxml==5.2.1
|
41 |
- markdown-it-py==3.0.0
|
42 |
- markupsafe==2.1.5
|
|
|
|
|
43 |
- mdurl==0.1.2
|
44 |
- more-itertools==10.2.0
|
45 |
- msgpack==1.0.8
|
|
|
46 |
- networkx==3.2.1
|
47 |
- numba==0.59.1
|
48 |
- numpy==1.26.4
|
49 |
- opyenxes==0.3.0
|
50 |
- partd==1.4.1
|
|
|
51 |
- pm4py==2.7.2
|
52 |
- protobuf==5.27.2
|
53 |
- pyarrow==17.0.0
|
@@ -55,6 +120,7 @@ dependencies:
|
|
55 |
- pydotplus==2.0.2
|
56 |
- pynisher==1.0.10
|
57 |
- pyrfr==0.9.0
|
|
|
58 |
- pyyaml==6.0.1
|
59 |
- rapidfuzz==3.8.1
|
60 |
- referencing==0.35.1
|
@@ -62,21 +128,29 @@ dependencies:
|
|
62 |
- requests==2.32.3
|
63 |
- rich==13.7.1
|
64 |
- rpds-py==0.19.0
|
65 |
-
- scikit-learn==1.4.0
|
66 |
- seaborn==0.13.2
|
67 |
-
-
|
|
|
68 |
- slicer==0.0.8
|
69 |
- smac==2.0.2
|
70 |
- smmap==5.0.1
|
71 |
- sortedcontainers==2.4.0
|
|
|
72 |
- streamlit==1.36.0
|
73 |
- stringdist==1.0.9
|
74 |
- tabulate==0.9.0
|
75 |
- tblib==3.0.0
|
76 |
- tenacity==8.5.0
|
77 |
-
-
|
|
|
|
|
|
|
78 |
- tqdm==4.65.0
|
|
|
|
|
79 |
- urllib3==2.2.1
|
80 |
- watchdog==4.0.1
|
81 |
- xgboost==2.1.0
|
82 |
- zict==3.0.0
|
|
|
|
|
|
3 |
- conda-forge
|
4 |
- defaults
|
5 |
dependencies:
|
6 |
+
- asttokens=2.4.1=pyhd8ed1ab_0
|
7 |
+
- backcall=0.2.0=pyh9f0ad1d_0
|
8 |
+
- certifi=2024.2.2=pyhd8ed1ab_0
|
9 |
+
- colorama=0.4.6=pyhd8ed1ab_0
|
10 |
+
- comm=0.2.2=pyhd8ed1ab_0
|
11 |
+
- cycler=0.12.1=pyhd8ed1ab_0
|
12 |
+
- decorator=5.1.1=pyhd8ed1ab_0
|
13 |
+
- executing=2.0.1=pyhd8ed1ab_0
|
14 |
+
- importlib-metadata=7.1.0=pyha770c72_0
|
15 |
+
- importlib-resources=6.4.0=pyhd8ed1ab_0
|
16 |
+
- importlib_metadata=7.1.0=hd8ed1ab_0
|
17 |
+
- importlib_resources=6.4.0=pyhd8ed1ab_0
|
18 |
+
- jedi=0.19.1=pyhd8ed1ab_0
|
19 |
+
- joblib=1.4.0=pyhd8ed1ab_0
|
20 |
+
- jupyter_client=8.6.1=pyhd8ed1ab_0
|
21 |
+
- matplotlib-inline=0.1.7=pyhd8ed1ab_0
|
22 |
+
- munkres=1.1.4=pyh9f0ad1d_0
|
23 |
+
- nest-asyncio=1.6.0=pyhd8ed1ab_0
|
24 |
+
- packaging=24.0=pyhd8ed1ab_0
|
25 |
+
- parso=0.8.4=pyhd8ed1ab_0
|
26 |
+
- pickleshare=0.7.5=py_1003
|
27 |
+
- pip=24.0=pyhd8ed1ab_0
|
28 |
+
- platformdirs=4.2.0=pyhd8ed1ab_0
|
29 |
+
- ply=3.11=pyhd8ed1ab_2
|
30 |
+
- prompt-toolkit=3.0.42=pyha770c72_0
|
31 |
+
- prompt_toolkit=3.0.42=hd8ed1ab_0
|
32 |
+
- pure_eval=0.2.2=pyhd8ed1ab_0
|
33 |
+
- pygments=2.17.2=pyhd8ed1ab_0
|
34 |
+
- pyparsing=3.1.2=pyhd8ed1ab_0
|
35 |
+
- python-dateutil=2.9.0=pyhd8ed1ab_0
|
36 |
+
- python-tzdata=2024.1=pyhd8ed1ab_0
|
37 |
+
- python_abi=3.9=4_cp39
|
38 |
+
- pytz=2024.1=pyhd8ed1ab_0
|
39 |
+
- setuptools=69.5.1=pyhd8ed1ab_0
|
40 |
+
- six=1.16.0=pyh6c4a22f_0
|
41 |
+
- stack_data=0.6.2=pyhd8ed1ab_0
|
42 |
+
- threadpoolctl=3.4.0=pyhc1e730c_0
|
43 |
+
- toml=0.10.2=pyhd8ed1ab_0
|
44 |
+
- tomli=2.0.1=pyhd8ed1ab_0
|
45 |
+
- traitlets=5.14.3=pyhd8ed1ab_0
|
46 |
+
- typing_extensions=4.11.0=pyha770c72_0
|
47 |
+
- tzdata=2024a=h0c530f3_0
|
48 |
+
- wcwidth=0.2.13=pyhd8ed1ab_0
|
49 |
+
- wheel=0.43.0=pyhd8ed1ab_1
|
50 |
+
- zipp=3.17.0=pyhd8ed1ab_0
|
51 |
- pip:
|
52 |
- altair==5.3.0
|
53 |
+
- asttokens==2.4.1
|
54 |
- attrs==23.2.0
|
55 |
+
- backcall==0.2.0
|
56 |
- blinker==1.8.2
|
57 |
+
- brotli==1.1.0
|
58 |
- cachetools==5.4.0
|
59 |
+
- certifi==2024.2.2
|
60 |
- charset-normalizer==3.3.2
|
61 |
- click==8.1.7
|
62 |
- cloudpickle==3.0.0
|
63 |
+
- comm==0.2.2
|
64 |
- configspace==0.7.1
|
65 |
+
- contourpy==1.2.1
|
66 |
+
- cycler==0.12.1
|
67 |
- cvxopt==1.3.2
|
68 |
- dask==2024.4.1
|
69 |
- dask-jobqueue==0.8.5
|
70 |
+
- debugpy==1.8.1
|
71 |
+
- decorator==5.1.1
|
72 |
- deprecation==2.1.0
|
73 |
- distributed==2024.4.1
|
74 |
- emcee==3.1.4
|
75 |
+
- executing==2.0.1
|
76 |
- feeed==1.2.0
|
77 |
- fsspec==2024.3.1
|
78 |
+
- fonttools==4.51.0
|
79 |
- gitdb==4.0.11
|
80 |
- gitpython==3.1.43
|
81 |
+
- graphviz==0.20.3
|
82 |
- idna==3.7
|
83 |
+
- importlib-metadata==7.1.0
|
84 |
+
- importlib-resources==6.4.0
|
85 |
- imbalanced-learn==0.12.2
|
86 |
- imblearn==0.0
|
87 |
- intervaltree==3.1.0
|
88 |
+
- ipykernel==6.29.3
|
89 |
+
- ipython==8.12.0
|
90 |
+
- jedi==0.19.1
|
91 |
- jinja2==3.1.3
|
92 |
+
- joblib==1.4.0
|
93 |
- jsonschema==4.23.0
|
94 |
- jsonschema-specifications==2023.12.1
|
95 |
+
- jupyter_client==8.6.1
|
96 |
+
- jupyter_core==5.7.2
|
97 |
+
- kiwisolver==1.4.5
|
98 |
- levenshtein==0.23.0
|
99 |
- llvmlite==0.42.0
|
100 |
- locket==1.0.0
|
101 |
- lxml==5.2.1
|
102 |
- markdown-it-py==3.0.0
|
103 |
- markupsafe==2.1.5
|
104 |
+
- matplotlib==3.8.4
|
105 |
+
- matplotlib-inline==0.1.7
|
106 |
- mdurl==0.1.2
|
107 |
- more-itertools==10.2.0
|
108 |
- msgpack==1.0.8
|
109 |
+
- munkres==1.1.4
|
110 |
- networkx==3.2.1
|
111 |
- numba==0.59.1
|
112 |
- numpy==1.26.4
|
113 |
- opyenxes==0.3.0
|
114 |
- partd==1.4.1
|
115 |
+
- pandas==2.2.2
|
116 |
- pm4py==2.7.2
|
117 |
- protobuf==5.27.2
|
118 |
- pyarrow==17.0.0
|
|
|
120 |
- pydotplus==2.0.2
|
121 |
- pynisher==1.0.10
|
122 |
- pyrfr==0.9.0
|
123 |
+
- python-dateutil==2.9.0
|
124 |
- pyyaml==6.0.1
|
125 |
- rapidfuzz==3.8.1
|
126 |
- referencing==0.35.1
|
|
|
128 |
- requests==2.32.3
|
129 |
- rich==13.7.1
|
130 |
- rpds-py==0.19.0
|
|
|
131 |
- seaborn==0.13.2
|
132 |
+
- scikit-learn==1.2.2
|
133 |
+
- scipy==1.13.0
|
134 |
- slicer==0.0.8
|
135 |
- smac==2.0.2
|
136 |
- smmap==5.0.1
|
137 |
- sortedcontainers==2.4.0
|
138 |
+
- stack_data==0.6.2
|
139 |
- streamlit==1.36.0
|
140 |
- stringdist==1.0.9
|
141 |
- tabulate==0.9.0
|
142 |
- tblib==3.0.0
|
143 |
- tenacity==8.5.0
|
144 |
+
- threadpoolctl==3.4.0
|
145 |
+
- toml==0.10.2
|
146 |
+
- tomli==2.0.1
|
147 |
+
- tornado==6.4
|
148 |
- tqdm==4.65.0
|
149 |
+
- toolz==0.12.1
|
150 |
+
- tzdata==2024.1
|
151 |
- urllib3==2.2.1
|
152 |
- watchdog==4.0.1
|
153 |
- xgboost==2.1.0
|
154 |
- zict==3.0.0
|
155 |
+
- zipp==3.17.0
|
156 |
+
- zstd==1.5.5.1
|
gedi/benchmark.py
CHANGED
@@ -109,7 +109,7 @@ class BenchmarkTest:
|
|
109 |
results['log'] = log_name
|
110 |
|
111 |
print(f" SUCCESS: {miner} miner for {results} took {dt.now()-start_miner} sec.")
|
112 |
-
dump_features_json(results, dump_path, log_name, content_type="benchmark")
|
113 |
return
|
114 |
|
115 |
def split_miner_wrapper(self, log_path="data/real_event_logs/BPI_Challenges/BPI_Challenge_2012.xes"):
|
|
|
109 |
results['log'] = log_name
|
110 |
|
111 |
print(f" SUCCESS: {miner} miner for {results} took {dt.now()-start_miner} sec.")
|
112 |
+
dump_features_json(results, os.path.join(dump_path, log_name), content_type="benchmark")
|
113 |
return
|
114 |
|
115 |
def split_miner_wrapper(self, log_path="data/real_event_logs/BPI_Challenges/BPI_Challenge_2012.xes"):
|
gedi/features.py
CHANGED
@@ -159,6 +159,6 @@ class EventLogFeatures(EventLogFile):
|
|
159 |
|
160 |
identifier = file.rsplit(".", 1)[0]
|
161 |
print(f" DONE: {file_path}. FEEED computed {feature_set}")
|
162 |
-
dump_features_json(features, self.root_path,
|
163 |
return features
|
164 |
|
|
|
159 |
|
160 |
identifier = file.rsplit(".", 1)[0]
|
161 |
print(f" DONE: {file_path}. FEEED computed {feature_set}")
|
162 |
+
dump_features_json(features, os.path.join(self.root_path,identifier))
|
163 |
return features
|
164 |
|