Skip to content

Instantly share code, notes, and snippets.

@yulu
Last active July 26, 2018 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yulu/a38834bf058b8b33de9f6c93b194e06e to your computer and use it in GitHub Desktop.
Save yulu/a38834bf058b8b33de9f6c93b194e06e to your computer and use it in GitHub Desktop.
{
"concept_group": "root",
"concepts": [
"root||appliances",
"root||automotive",
"root||baby_products",
"root||bag",
"root||book",
"root||clothing",
"root||electronics",
"root||fashion_accessories",
"root||food_and_beverage",
"root||food_and_beverage__unpackaged_food",
"root||furniture",
"root||glasses",
"root||health_beauty_household",
"root||home_decor",
"root||jewellery",
"root||kitchen_and_dining",
"root||shoe",
"root||sports_and_fitness",
"root||stationery",
"root||toy",
"root||watch"
],
"metrics": {
"concepts": {
"TP": [...],
"FP": [...],
"FN": [...],
"support": [
4143,
552,
677,
839,
331,
4305,
7013,
850,
1724,
0,
1300,
456,
2169,
879,
1111,
8159,
2180,
4596,
2680,
922,
228
],
"recall": [
0.8071,
0.7065,
0.7253,
0.9082,
0.7492,
0.8985,
0.9009,
0.6894,
0.3521,
0,
0.8762,
0.9846,
0.7948,
0.6644,
0.757,
0.7445,
0.9706,
0.7365,
0.6201,
0.897,
0.8202
],
"f1-score": [
0.8016,
0.7345,
0.7818,
0.7398,
0.8105,
0.9247,
0.8396,
0.6882,
0.5065,
0,
0.7543,
0.9025,
0.7317,
0.4075,
0.7203,
0.8022,
0.8713,
0.8239,
0.7054,
0.8045,
0.8026
],
"precision": [
0.7962,
0.7647,
0.848,
0.6241,
0.8826,
0.9525,
0.7861,
0.687,
0.9019,
0,
0.6622,
0.833,
0.6779,
0.2939,
0.6871,
0.8697,
0.7904,
0.9348,
0.8179,
0.7293,
0.7857
],
"accuracy": [...]
},
"summary": {
"TP": 10000,
"FP": 100,
"FN": 100,
"support": 45114,
"recall": 0.7892,
"precision": 0.8147,
"f1-score": 0.7904,
"accuracy": 0.7892,
"weighted_recall": 0.7892,
"weighted_precision": 0.8147,
"weighted_f1-score": 0.7904,
"weighted_accuracy": 0.7892
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment