Commit f262be7d authored by pawel rosikiewicz's avatar pawel rosikiewicz 💬
Browse files

Saved changes to: notebooks/05_skilearn_and_dense_nn_models_b.ipynb src/configs/dataset_configs.py

parent 9e813861
Pipeline #187604 passed with stage
in 20 seconds
......@@ -86,10 +86,34 @@
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"{'ham10000': {'info': 'raw data grouped with original classes, no augmentation, no duplicate removal',\n",
" 'labels': ['cancer_detection_and_classification', 'cancer_risk_groups']},\n",
" 'ham10000_workshop': {'info': 'raw data grouped with original classes, no augmentation, no duplicate removal',\n",
" 'labels': ['cancer_detection_and_classification', 'cancer_risk_groups']}}"
]
},
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"PATH_interim\n",
"DATASET_CONFIGS"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"# set project variables\n",
"DATASET_NAME = \"HAM10000\" # name used in config files to identify all info on that dataset variant\n",
"DATASET_NAME = \"ham10000_workshop\" # name used in config files to identify all info on that dataset variant\n",
"DATASET_VARIANTS = DATASET_CONFIGS[DATASET_NAME][\"labels\"] # class labels that will beused, SORT_FILES_WITH must be included\n",
"SUBSET_COMPOSITION, DATA_SUBSET_ROLES = DEFINE_DATASETS( \n",
" dataset_name = DATASET_NAME,\n",
......@@ -128,14 +128,14 @@ CLASS_LABELS_CONFIGS = {
'''
DATASET_CONFIGS = {
"HAM10000": {
"ham10000": {
"info": "raw data grouped with original classes, no augmentation, no duplicate removal",
"labels": [
"cancer_detection_and_classification",
"cancer_risk_groups"
]
},
"HAM10000_workshop": {
"ham10000_workshop": {
"info": "raw data grouped with original classes, no augmentation, no duplicate removal",
"labels": [
"cancer_detection_and_classification",
......@@ -145,7 +145,6 @@ DATASET_CONFIGS = {
}
# config function, ..............................................
def add_dataset_class_colors_to_CLASS_LABELS_CONFIGS(CLASS_COLORS, CLASS_LABELS_CONFIGS, CLASS_COLORS_zorder=None):
'''
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment