Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved Label Error Detection with xval comparison #2

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,417 changes: 1,417 additions & 0 deletions src/experiments/Evaluate_Experiments.ipynb

Large diffs are not rendered by default.

3,143 changes: 3,143 additions & 0 deletions src/experiments/Evaluate_Experiments_New_Method_Sandbox.ipynb

Large diffs are not rendered by default.

4,747 changes: 4,747 additions & 0 deletions src/experiments/Evaluate_Experiments_xval_comparison.ipynb

Large diffs are not rendered by default.

17 changes: 9 additions & 8 deletions src/experiments/cifar-10/0_Generate_Noisy_Labels.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 7,
"id": "2a34f795-2d21-4e00-89f4-090d8cce7c64",
"metadata": {},
"outputs": [],
Expand All @@ -13,6 +13,7 @@
"import cleanlab\n",
"import pandas as pd\n",
"from noise_generation_autogluon import generate_noisy_labels_autogluon_image_dataset\n",
"import datetime\n",
"\n",
"pd.set_option('display.max_rows', None)\n",
"pd.set_option('display.max_columns', None)\n",
Expand All @@ -35,7 +36,7 @@
"outputs": [],
"source": [
"# path to cifar10 images\n",
"CIFAR_10_DATA_PATH = \"/Data/cifar10_png/\"\n",
"CIFAR_10_DATA_PATH = \"./cifar10_png/\"\n",
"\n",
"# read data from root folder\n",
"train_dataset, _, test_dataset = \\\n",
Expand All @@ -54,7 +55,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 3,
"id": "6dc056cc-e2f0-4b15-b800-19233db913e6",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -85,7 +86,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 4,
"id": "64dca3f2-b18d-4eb4-be64-6354cedd01ce",
"metadata": {},
"outputs": [
Expand All @@ -95,7 +96,7 @@
"0.80054"
]
},
"execution_count": 8,
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -107,7 +108,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 5,
"id": "74fb0c31-31a2-478f-81c0-c12c5b8f1189",
"metadata": {},
"outputs": [
Expand All @@ -117,7 +118,7 @@
"(50000, 2)"
]
},
"execution_count": 9,
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -136,7 +137,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 8,
"id": "18ce7f87-6305-43a0-be39-7796465dd4be",
"metadata": {},
"outputs": [],
Expand Down
Loading