|
15 | 15 | "id": "adaefc8b-b639-4bdf-af0d-337519e37ffc", |
16 | 16 | "metadata": {}, |
17 | 17 | "source": [ |
18 | | - "<div class=\"alert alert-info\">\n", |
19 | | - "Quickstart\n", |
20 | | - "<br/>\n", |
21 | | - " \n", |
22 | | - "cleanlab finds label issues based on two inputs: `labels` formatted as a list of lists of integer class indices that apply to each example in your dataset, and `pred_probs` from a trained multi-label classification model (which do not need to sum to 1 since the classes are not mutually exclusive). Once you have these, run the code below to find label issues in your dataset.\n", |
23 | | - "\n", |
24 | | - "<div class=markdown markdown=\"1\" style=\"background:white;margin:16px\"> \n", |
25 | | - " \n", |
26 | | - "```ipython3 \n", |
27 | | - "from cleanlab.filter import find_label_issues\n", |
28 | | - "\n", |
29 | | - "ranked_label_issues = find_label_issues(\n", |
30 | | - " labels=labels,\n", |
31 | | - " pred_probs=pred_probs,\n", |
32 | | - " multi_label=True,\n", |
33 | | - " return_indices_ranked_by=\"self_confidence\",\n", |
34 | | - ")\n", |
35 | | - "```\n", |
36 | | - "\n", |
37 | | - " \n", |
38 | | - "</div>\n", |
39 | | - "</div>" |
| 18 | + "> ## Quickstart\n", |
| 19 | + "> \n", |
| 20 | + "> cleanlab finds label issues based on two inputs: `labels` formatted as a list of lists of integer class indices that apply to each example in your dataset, and `pred_probs` from a trained multi-label classification model (which do not need to sum to 1 since the classes are not mutually exclusive). Once you have these, run the code below to find label issues in your dataset.\n", |
| 21 | + "> \n", |
| 22 | + "> ```ipython3 \n", |
| 23 | + "> from cleanlab.filter import find_label_issues\n", |
| 24 | + "> \n", |
| 25 | + "> ranked_label_issues = find_label_issues(\n", |
| 26 | + "> labels=labels,\n", |
| 27 | + "> pred_probs=pred_probs,\n", |
| 28 | + "> multi_label=True,\n", |
| 29 | + "> return_indices_ranked_by=\"self_confidence\",\n", |
| 30 | + "> )\n", |
| 31 | + "> ```" |
40 | 32 | ] |
41 | 33 | }, |
42 | 34 | { |
|
0 commit comments