| { |
| "confusion_matrix": [ |
| [ |
| 200, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0 |
| ], |
| [ |
| 0, |
| 200, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0 |
| ], |
| [ |
| 0, |
| 0, |
| 200, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0 |
| ], |
| [ |
| 0, |
| 0, |
| 0, |
| 200, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0 |
| ], |
| [ |
| 0, |
| 0, |
| 0, |
| 0, |
| 200, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0 |
| ], |
| [ |
| 0, |
| 1, |
| 0, |
| 0, |
| 0, |
| 199, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0 |
| ], |
| [ |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 201, |
| 0, |
| 0, |
| 0, |
| 0 |
| ], |
| [ |
| 1, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 199, |
| 0, |
| 0, |
| 0 |
| ], |
| [ |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 200, |
| 0, |
| 0 |
| ], |
| [ |
| 0, |
| 1, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 199, |
| 0 |
| ], |
| [ |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 200 |
| ] |
| ], |
| "classes": [ |
| "black pepper", |
| "cardamom", |
| "cinnamon", |
| "cloves", |
| "coriander", |
| "cumin", |
| "ginger", |
| "nutmeg", |
| "paprika", |
| "saffron", |
| "turmeric" |
| ], |
| "prior_hard_neg_pairs": [ |
| [ |
| 4, |
| 5 |
| ], |
| [ |
| 8, |
| 10 |
| ], |
| [ |
| 0, |
| 3 |
| ], |
| [ |
| 2, |
| 7 |
| ] |
| ], |
| "top_confusion_pairs": [ |
| [ |
| 1, |
| "saffron", |
| "cardamom" |
| ], |
| [ |
| 1, |
| "nutmeg", |
| "black pepper" |
| ], |
| [ |
| 1, |
| "cumin", |
| "cardamom" |
| ] |
| ], |
| "symmetric_confusion_pairs": [ |
| [ |
| 1, |
| "cardamom", |
| "saffron" |
| ], |
| [ |
| 1, |
| "cardamom", |
| "cumin" |
| ], |
| [ |
| 1, |
| "black pepper", |
| "nutmeg" |
| ] |
| ], |
| "classification_report": { |
| "black pepper": { |
| "precision": 0.9950248756218906, |
| "recall": 1.0, |
| "f1-score": 0.9975062344139651, |
| "support": 200.0 |
| }, |
| "cardamom": { |
| "precision": 0.9900990099009901, |
| "recall": 1.0, |
| "f1-score": 0.9950248756218906, |
| "support": 200.0 |
| }, |
| "cinnamon": { |
| "precision": 1.0, |
| "recall": 1.0, |
| "f1-score": 1.0, |
| "support": 200.0 |
| }, |
| "cloves": { |
| "precision": 1.0, |
| "recall": 1.0, |
| "f1-score": 1.0, |
| "support": 200.0 |
| }, |
| "coriander": { |
| "precision": 1.0, |
| "recall": 1.0, |
| "f1-score": 1.0, |
| "support": 200.0 |
| }, |
| "cumin": { |
| "precision": 1.0, |
| "recall": 0.995, |
| "f1-score": 0.9974937343358395, |
| "support": 200.0 |
| }, |
| "ginger": { |
| "precision": 1.0, |
| "recall": 1.0, |
| "f1-score": 1.0, |
| "support": 201.0 |
| }, |
| "nutmeg": { |
| "precision": 1.0, |
| "recall": 0.995, |
| "f1-score": 0.9974937343358395, |
| "support": 200.0 |
| }, |
| "paprika": { |
| "precision": 1.0, |
| "recall": 1.0, |
| "f1-score": 1.0, |
| "support": 200.0 |
| }, |
| "saffron": { |
| "precision": 1.0, |
| "recall": 0.995, |
| "f1-score": 0.9974937343358395, |
| "support": 200.0 |
| }, |
| "turmeric": { |
| "precision": 1.0, |
| "recall": 1.0, |
| "f1-score": 1.0, |
| "support": 200.0 |
| }, |
| "accuracy": 0.9986369831894594, |
| "macro avg": { |
| "precision": 0.9986476259566256, |
| "recall": 0.9986363636363635, |
| "f1-score": 0.9986374830039431, |
| "support": 2201.0 |
| }, |
| "weighted avg": { |
| "precision": 0.9986482403928105, |
| "recall": 0.9986369831894594, |
| "f1-score": 0.9986381020484667, |
| "support": 2201.0 |
| } |
| } |
| } |