NLPV commited on
Commit
d309948
Β·
verified Β·
1 Parent(s): c414588

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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:.4f}
134
 
135
  🧽 AFTER Unlearning:
136
  - Prediction: {cifar10_classes[pred_after]}
137
- - Confidence: {conf_after:.4f}
138
 
139
- πŸ“‰ Confidence Drop: {conf_before - conf_after:.4f}
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}