Skip to content

Commit f8ee85e

Browse files
author
Juan Buhler
committed
added install and titles
1 parent a55cc58 commit f8ee85e

File tree

1 file changed

+68
-1
lines changed

1 file changed

+68
-1
lines changed

examples/extras/classification-confusion-matrix.ipynb

Lines changed: 68 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"id": "ce92c898",
6+
"metadata": {},
7+
"source": [
8+
"<td>\n",
9+
" <a target=\"_blank\" href=\"https://labelbox.com\" ><img src=\"https://labelbox.com/blog/content/images/2021/02/logo-v4.svg\" width=256/></a>\n",
10+
"</td>"
11+
]
12+
},
13+
{
14+
"cell_type": "markdown",
15+
"id": "5d6ab814",
16+
"metadata": {},
17+
"source": [
18+
"<td>\n",
19+
"<a href=\"https://colab.research.google.com/github/Labelbox/labelbox-python/blob/develop/examples/extras/classification-confusion-matrix\" target=\"_blank\"><img\n",
20+
"src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"></a>\n",
21+
"</td>\n",
22+
"\n",
23+
"<td>\n",
24+
"<a href=\"https://github.com/Labelbox/labelbox-python/tree/develop/examples/extras/classification-confusion-matrix.ipynb\" target=\"_blank\"><img\n",
25+
"src=\"https://img.shields.io/badge/GitHub-100000?logo=github&logoColor=white\" alt=\"GitHub\"></a>\n",
26+
"</td>"
27+
]
28+
},
329
{
430
"cell_type": "markdown",
531
"id": "47170397",
@@ -9,7 +35,32 @@
935
"\n",
1036
"This notebook plots a confusion matrix for a multi-class, single label classification.\n",
1137
"\n",
12-
"It assumes that your project has a number of labels from multiple labelers, where the Annotation Type is Radio."
38+
"It assumes that your project has a number of labels from multiple labelers, where the Annotation Type is Radio.\n",
39+
"\n",
40+
"## Installs"
41+
]
42+
},
43+
{
44+
"cell_type": "code",
45+
"execution_count": null,
46+
"id": "bf8c817c",
47+
"metadata": {},
48+
"outputs": [],
49+
"source": [
50+
"!pip install -q 'labelbox[data]'"
51+
]
52+
},
53+
{
54+
"cell_type": "markdown",
55+
"id": "b338a06e",
56+
"metadata": {
57+
"ExecuteTime": {
58+
"end_time": "2022-02-25T17:21:41.598592Z",
59+
"start_time": "2022-02-25T17:21:41.595703Z"
60+
}
61+
},
62+
"source": [
63+
"## Imports"
1364
]
1465
},
1566
{
@@ -130,6 +181,14 @@
130181
"dataset = lb.get_dataset('xxx')"
131182
]
132183
},
184+
{
185+
"cell_type": "markdown",
186+
"id": "88c31726",
187+
"metadata": {},
188+
"source": [
189+
"## Labeler Selection"
190+
]
191+
},
133192
{
134193
"cell_type": "code",
135194
"execution_count": 13,
@@ -180,6 +239,14 @@
180239
"widgets.VBox(items)"
181240
]
182241
},
242+
{
243+
"cell_type": "markdown",
244+
"id": "95a7eed3",
245+
"metadata": {},
246+
"source": [
247+
"## Confusion Matrix"
248+
]
249+
},
183250
{
184251
"cell_type": "code",
185252
"execution_count": 16,

0 commit comments

Comments
 (0)