Spaces:
Running
Running
changed the reset thing
Browse files- app.py +8 -3
- fileHandler/ER-successful-strategies.csv +0 -0
- fileHandler/ER-unsuccessful-strategies.csv +0 -0
- fileHandler/ME-successful-strategies.csv +0 -0
- fileHandler/ME-unsuccessful-strategies.csv +0 -0
- fileHandler/result.txt +7 -7
- fileHandler/roc_data.pkl +1 -1
- fileHandler/roc_data2.pkl +1 -1
- fileHandler/tlabels_plabels.pkl +1 -1
- ratio_proportion_change3_2223/sch_largest_100-coded/time_info/full_data_normalized_time.pkl +1 -1
app.py
CHANGED
@@ -1231,9 +1231,14 @@ with gr.Blocks(theme='gstaff/sketch', css=custom_css) as demo:
|
|
1231 |
|
1232 |
|
1233 |
btn.click(
|
1234 |
-
fn=
|
1235 |
-
|
1236 |
-
|
|
|
|
|
|
|
|
|
|
|
1237 |
)
|
1238 |
|
1239 |
|
|
|
1231 |
|
1232 |
|
1233 |
btn.click(
|
1234 |
+
fn=lambda model, increment: (
|
1235 |
+
*process_file(model, increment), # Unpack all outputs from process_file
|
1236 |
+
gr.update(value=None), # Reset dropdown to first item
|
1237 |
+
None, # Clear file output
|
1238 |
+
gr.update(visible=False) # Hide visualize markdown
|
1239 |
+
),
|
1240 |
+
inputs=[model_dropdown, increment_slider],
|
1241 |
+
outputs=[output_text, plot_output, opt1_pie, opt2_pie, file_dropdown, file_output, visualize_markdown]
|
1242 |
)
|
1243 |
|
1244 |
|
fileHandler/ER-successful-strategies.csv
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
fileHandler/ER-unsuccessful-strategies.csv
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
fileHandler/ME-successful-strategies.csv
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
fileHandler/ME-unsuccessful-strategies.csv
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
fileHandler/result.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
avg_loss: 0.
|
2 |
-
total_acc:
|
3 |
-
precisions: 0.
|
4 |
-
recalls: 0.
|
5 |
-
f1_scores: 0.
|
6 |
-
time_taken_from_start: 0.
|
7 |
-
auc_score: 0.
|
|
|
1 |
+
avg_loss: 0.6459757685661316
|
2 |
+
total_acc: 64.30678466076697
|
3 |
+
precisions: 0.6414367454635165
|
4 |
+
recalls: 0.6430678466076696
|
5 |
+
f1_scores: 0.6409828333648592
|
6 |
+
time_taken_from_start: 0.6194958686828613
|
7 |
+
auc_score: 0.6989481065918653
|
fileHandler/roc_data.pkl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 3482
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:986b6ff83778c30345a93c061d308be48f2747808cfe23f95f841777d60c31d5
|
3 |
size 3482
|
fileHandler/roc_data2.pkl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 9599
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f19c4f2b68251bd880418198eff97a53629ff0a43ce7992d6f55d398af3b56b9
|
3 |
size 9599
|
fileHandler/tlabels_plabels.pkl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 12989
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1163cbe476ae285577f0d2082e9bf5f1cd76c0d5528e815ec5aa56aaee5fe8f7
|
3 |
size 12989
|
ratio_proportion_change3_2223/sch_largest_100-coded/time_info/full_data_normalized_time.pkl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4660819
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:23fb24a2d90e840dbc5e98e09812f8ce16871360d8d479675637990686eb4d8d
|
3 |
size 4660819
|