Spaces:
Running
Running
new precision and stuffs
Browse files- .gitignore +1 -0
- app.py +5 -5
- plot.png +0 -0
- result.txt +7 -7
- roc_data.pkl +2 -2
- selected_rows.txt +0 -0
.gitignore
CHANGED
|
@@ -1 +1,2 @@
|
|
| 1 |
train_info.txt
|
|
|
|
|
|
| 1 |
train_info.txt
|
| 2 |
+
ratio_proportion_change3_2223/sch_largest_100-coded/logs/
|
app.py
CHANGED
|
@@ -122,13 +122,13 @@ def process_file(file,label,info,model_name,inc_slider,progress=Progress(track_t
|
|
| 122 |
Model: {model_name}\n
|
| 123 |
Result Summary:\n
|
| 124 |
-----------------\n
|
| 125 |
-
Average Loss: {result['avg_loss']:.4f}\n
|
| 126 |
-
Total Accuracy: {result['total_acc']:.2f}%\n
|
| 127 |
Precision: {result['precisions']:.2f}\n
|
| 128 |
Recall: {result['recalls']:.2f}\n
|
| 129 |
-
F1-Score: {result['f1_scores']:.2f}\n
|
| 130 |
Time Taken: {result['time_taken_from_start']:.2f} seconds\n
|
| 131 |
-
|
|
|
|
|
|
|
|
|
|
| 132 |
-----------------\n
|
| 133 |
Note: The ROC Curve is also displayed for the evaluation.
|
| 134 |
"""
|
|
@@ -332,7 +332,7 @@ tbody.svelte-18wv37q>tr.svelte-18wv37q:nth-child(odd) {
|
|
| 332 |
model_dropdown = gr.Dropdown(choices=models, label="Select Finetune Task", elem_classes="dropdown-menu")
|
| 333 |
|
| 334 |
|
| 335 |
-
increment_slider = gr.Slider(minimum=
|
| 336 |
|
| 337 |
with gr.Row():
|
| 338 |
output_text = gr.Textbox(label="Output Text")
|
|
|
|
| 122 |
Model: {model_name}\n
|
| 123 |
Result Summary:\n
|
| 124 |
-----------------\n
|
|
|
|
|
|
|
| 125 |
Precision: {result['precisions']:.2f}\n
|
| 126 |
Recall: {result['recalls']:.2f}\n
|
|
|
|
| 127 |
Time Taken: {result['time_taken_from_start']:.2f} seconds\n
|
| 128 |
+
Total Schools in test: {len(unique_schools):.4f}\n
|
| 129 |
+
Total Schools taken: {len(random_schools):.4f}\n
|
| 130 |
+
High grad schools: {len(high_sample):.4f}\n
|
| 131 |
+
Low grad schools: {len(low_sample):.4f}\n
|
| 132 |
-----------------\n
|
| 133 |
Note: The ROC Curve is also displayed for the evaluation.
|
| 134 |
"""
|
|
|
|
| 332 |
model_dropdown = gr.Dropdown(choices=models, label="Select Finetune Task", elem_classes="dropdown-menu")
|
| 333 |
|
| 334 |
|
| 335 |
+
increment_slider = gr.Slider(minimum=1, maximum=100, step=1, label="Schools Percentage", value=1)
|
| 336 |
|
| 337 |
with gr.Row():
|
| 338 |
output_text = gr.Textbox(label="Output Text")
|
plot.png
CHANGED
|
|
result.txt
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
-
avg_loss: 0.
|
| 2 |
-
total_acc: 69.
|
| 3 |
-
precisions: 0.
|
| 4 |
-
recalls: 0.
|
| 5 |
-
f1_scores: 0.
|
| 6 |
-
time_taken_from_start:
|
| 7 |
-
auc_score: 0.
|
|
|
|
| 1 |
+
avg_loss: 0.5730699896812439
|
| 2 |
+
total_acc: 69.52861952861953
|
| 3 |
+
precisions: 0.7336375047795977
|
| 4 |
+
recalls: 0.6952861952861953
|
| 5 |
+
f1_scores: 0.6858177547541179
|
| 6 |
+
time_taken_from_start: 28.49159860610962
|
| 7 |
+
auc_score: 0.7738852057033876
|
roc_data.pkl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c4af99c21a2122f6f4c4773439bbb77976243559acf78cd9b771f24d3ae9bdc
|
| 3 |
+
size 5930
|
selected_rows.txt
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|