Update app.py
Browse files
app.py
CHANGED
@@ -130,13 +130,13 @@ def run_unlearning(index_to_unlearn, learning_rate):
|
|
130 |
|
131 |
π BEFORE Unlearning:
|
132 |
- Prediction: {cifar10_classes[pred_before]}
|
133 |
-
- Confidence: {conf_before:.
|
134 |
|
135 |
π§½ AFTER Unlearning:
|
136 |
- Prediction: {cifar10_classes[pred_after]}
|
137 |
-
- Confidence: {conf_after:.
|
138 |
|
139 |
-
π Confidence Drop: {conf_before - conf_after:.
|
140 |
|
141 |
π§ͺ Test Set Performance:
|
142 |
- Original Model: {orig_acc:.2f}% accuracy, Loss: {orig_loss:.4f}
|
|
|
130 |
|
131 |
π BEFORE Unlearning:
|
132 |
- Prediction: {cifar10_classes[pred_before]}
|
133 |
+
- Confidence: {conf_before:.6f}
|
134 |
|
135 |
π§½ AFTER Unlearning:
|
136 |
- Prediction: {cifar10_classes[pred_after]}
|
137 |
+
- Confidence: {conf_after:.6f}
|
138 |
|
139 |
+
π Confidence Drop: {conf_before - conf_after:.6f}
|
140 |
|
141 |
π§ͺ Test Set Performance:
|
142 |
- Original Model: {orig_acc:.2f}% accuracy, Loss: {orig_loss:.4f}
|