Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -91,11 +91,15 @@ with gr.Blocks() as demo:
|
|
| 91 |
gr.Markdown(r"""
|
| 92 |
Accuracy: is the model's ability to make correct predicitons.
|
| 93 |
It is the fraction of correct prediction out of the total predictions.
|
|
|
|
| 94 |
$
|
| 95 |
\text{Accuracy} = \frac{\text{Correct predictions}}{\text{All predictions}} * 100
|
| 96 |
$
|
|
|
|
| 97 |
Model Confidence: is the mean probabilty of each case
|
| 98 |
belonging to their assigned classes. A value of 1 is best.
|
|
|
|
|
|
|
| 99 |
""", latex_delimiters=[{ "left": "$", "right": "$", "display": True }])
|
| 100 |
model_confidence = gr.Number(label="Model Confidence")
|
| 101 |
with gr.Column(scale=5):
|
|
|
|
| 91 |
gr.Markdown(r"""
|
| 92 |
Accuracy: is the model's ability to make correct predicitons.
|
| 93 |
It is the fraction of correct prediction out of the total predictions.
|
| 94 |
+
|
| 95 |
$
|
| 96 |
\text{Accuracy} = \frac{\text{Correct predictions}}{\text{All predictions}} * 100
|
| 97 |
$
|
| 98 |
+
|
| 99 |
Model Confidence: is the mean probabilty of each case
|
| 100 |
belonging to their assigned classes. A value of 1 is best.
|
| 101 |
+
|
| 102 |
+
|
| 103 |
""", latex_delimiters=[{ "left": "$", "right": "$", "display": True }])
|
| 104 |
model_confidence = gr.Number(label="Model Confidence")
|
| 105 |
with gr.Column(scale=5):
|