FHE-feasible diagnostic CNN: artefacts + measured metrics
Browse files- README.md +9 -6
- eval_sample.json +3 -3
- export_report.json +3 -3
- manifest.json +6 -6
- model.safetensors +1 -1
- onnx/model.onnx +1 -1
- onnx/model_int8.onnx +1 -1
- weights.json +0 -0
README.md
CHANGED
|
@@ -23,14 +23,17 @@ a quantum-safe orchestration demo. This is the **plaintext** model for the
|
|
| 23 |
|
| 24 |
| metric | value |
|
| 25 |
|---|---|
|
| 26 |
-
| `agreement` | 0.
|
| 27 |
-
| `
|
| 28 |
-
| `
|
| 29 |
-
| `
|
|
|
|
|
|
|
|
|
|
| 30 |
| `n_eval` | 156 |
|
| 31 |
-
| `student_metric` | 0.
|
| 32 |
| `student_params` | 3226 |
|
| 33 |
-
| `teacher_metric` | 0.
|
| 34 |
| `teacher_params` | 11171266 |
|
| 35 |
|
| 36 |
## Published baselines this is measured against
|
|
|
|
| 23 |
|
| 24 |
| metric | value |
|
| 25 |
|---|---|
|
| 26 |
+
| `agreement` | 0.730769 |
|
| 27 |
+
| `auc` | 0.609231 |
|
| 28 |
+
| `disagreement_on_positives` | 0.157895 |
|
| 29 |
+
| `majority_class_rate` | 0.730769 |
|
| 30 |
+
| `metric_delta` | 0.166667 |
|
| 31 |
+
| `metric_delta_pp` | 16.6667 |
|
| 32 |
+
| `n_classes_predicted` | 2 |
|
| 33 |
| `n_eval` | 156 |
|
| 34 |
+
| `student_metric` | 0.685897 |
|
| 35 |
| `student_params` | 3226 |
|
| 36 |
+
| `teacher_metric` | 0.852564 |
|
| 37 |
| `teacher_params` | 11171266 |
|
| 38 |
|
| 39 |
## Published baselines this is measured against
|
eval_sample.json
CHANGED
|
@@ -13,8 +13,8 @@
|
|
| 13 |
"layout": "samples[i] is one 14x14 image, row-major, already normalised"
|
| 14 |
},
|
| 15 |
"classes": {
|
| 16 |
-
"0": "
|
| 17 |
-
"1": "
|
| 18 |
},
|
| 19 |
"samples": [
|
| 20 |
[
|
|
@@ -31066,7 +31066,7 @@
|
|
| 31066 |
],
|
| 31067 |
"expected": {
|
| 31068 |
"graph": "model.onnx",
|
| 31069 |
-
"accuracy": 0.
|
| 31070 |
"majority_baseline": 0.7307692307692307,
|
| 31071 |
"note": "The whole official test split, and the same rows the registry's recorded student accuracy was measured on, so this reproduces that figure rather than resampling it."
|
| 31072 |
}
|
|
|
|
| 13 |
"layout": "samples[i] is one 14x14 image, row-major, already normalised"
|
| 14 |
},
|
| 15 |
"classes": {
|
| 16 |
+
"0": "malignant",
|
| 17 |
+
"1": "normal/benign"
|
| 18 |
},
|
| 19 |
"samples": [
|
| 20 |
[
|
|
|
|
| 31066 |
],
|
| 31067 |
"expected": {
|
| 31068 |
"graph": "model.onnx",
|
| 31069 |
+
"accuracy": 0.6858974358974359,
|
| 31070 |
"majority_baseline": 0.7307692307692307,
|
| 31071 |
"note": "The whole official test split, and the same rows the registry's recorded student accuracy was measured on, so this reproduces that figure rather than resampling it."
|
| 31072 |
}
|
export_report.json
CHANGED
|
@@ -4,9 +4,9 @@
|
|
| 4 |
"fp32_bytes": 14691,
|
| 5 |
"int8_bytes": 7274,
|
| 6 |
"opset": 17,
|
| 7 |
-
"fp32_max_abs_error":
|
| 8 |
-
"int8_agreement":
|
| 9 |
-
"int8_max_abs_error": 0.
|
| 10 |
"n_fixtures": 156,
|
| 11 |
"passed": true,
|
| 12 |
"int8_skipped_reason": "",
|
|
|
|
| 4 |
"fp32_bytes": 14691,
|
| 5 |
"int8_bytes": 7274,
|
| 6 |
"opset": 17,
|
| 7 |
+
"fp32_max_abs_error": 2.9802322387695312e-08,
|
| 8 |
+
"int8_agreement": 0.9935897435897436,
|
| 9 |
+
"int8_max_abs_error": 0.0021088868379592896,
|
| 10 |
"n_fixtures": 156,
|
| 11 |
"passed": true,
|
| 12 |
"int8_skipped_reason": "",
|
manifest.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
{
|
| 2 |
"key": "medical_fl.student",
|
| 3 |
-
"metric_name": "
|
| 4 |
-
"best_metric": 0.
|
| 5 |
-
"best_epoch":
|
| 6 |
-
"epochs_run":
|
| 7 |
-
"wall_clock_s": 0.
|
| 8 |
-
"git_sha": "
|
| 9 |
"seed": 42,
|
| 10 |
"hyperparameters": {
|
| 11 |
"epochs": 120,
|
|
|
|
| 1 |
{
|
| 2 |
"key": "medical_fl.student",
|
| 3 |
+
"metric_name": "auc",
|
| 4 |
+
"best_metric": 0.7319189971070394,
|
| 5 |
+
"best_epoch": 6,
|
| 6 |
+
"epochs_run": 32,
|
| 7 |
+
"wall_clock_s": 0.6,
|
| 8 |
+
"git_sha": "528d852-dirty",
|
| 9 |
"seed": 42,
|
| 10 |
"hyperparameters": {
|
| 11 |
"epochs": 120,
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 13384
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:935b67771bd2df324edda80aa81a2cf11d54ff31daf748cbf046f5a1a6e0712d
|
| 3 |
size 13384
|
onnx/model.onnx
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 14691
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ccd75172dc0e2be4b54a1849081f917032eb274133b90ea9d2e58f681ae418c
|
| 3 |
size 14691
|
onnx/model_int8.onnx
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 7274
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8995e22180497040d324e37f77fa3f9c025be59752b77be5502514b1f00c95f8
|
| 3 |
size 7274
|
weights.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|