mirror of
https://github.com/Doctorado-ML/benchmark.git
synced 2025-08-15 23:45:54 +00:00
Add baggingStree best hyperparams
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"fd=open(\"../results/best_results_accuracy_STree.json\")\n",
|
||||
"fo=open(\"../results/best_results_accuracy_ODTE.json\", \"w\")\n",
|
||||
"fo=open(\"../results/best_results_accuracy_BaggingStree.json\", \"w\")\n",
|
||||
"data=json.load(fd)"
|
||||
]
|
||||
},
|
||||
@@ -57,7 +57,10 @@
|
||||
"for key, value in data.items():\n",
|
||||
" value[0]=0.0\n",
|
||||
" value[2]=\"-program made-\"\n",
|
||||
" value[1] = {\"n_jobs\": 10, \"n_estimators\": 100, \"be_hyperparams\": f\"{json.dumps(value[1])}\"}\n",
|
||||
" res = {\"n_estimators\": 100}\n",
|
||||
" for key2, value2 in value[1].items():\n",
|
||||
" res[f\"base_estimator__{key2}\"] = value2\n",
|
||||
" value[1] = res\n",
|
||||
"json.dump(data, fo)\n",
|
||||
"fd.close()\n",
|
||||
"fo.close()"
|
||||
@@ -66,237 +69,13 @@
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 5,
|
||||
"id": "e3706b14-7673-4eef-832c-bfa701a21892",
|
||||
"id": "0359e663-8938-472f-b5b5-fc6a555feeaf",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"{'balance-scale': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 10000.0, \"gamma\": 0.1, \"kernel\": \"rbf\", \"max_iter\": 10000.0, \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'balloons': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 7, \"gamma\": 0.1, \"kernel\": \"rbf\", \"max_iter\": 10000.0, \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'breast-cancer-wisc-diag': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 0.2, \"max_iter\": 10000.0, \"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'breast-cancer-wisc-prog': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 0.2, \"max_iter\": 10000.0, \"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'breast-cancer-wisc': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"kernel\": \"rbf\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'breast-cancer': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'cardiotocography-10clases': [0.0,\n",
|
||||
" {'n_jobs': 10, 'n_estimators': 100, 'be_hyperparams': '{}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'cardiotocography-3clases': [0.0,\n",
|
||||
" {'n_jobs': 10, 'n_estimators': 100, 'be_hyperparams': '{}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'conn-bench-sonar-mines-rocks': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"kernel\": \"rbf\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'cylinder-bands': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"kernel\": \"rbf\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'dermatology': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 55, \"max_iter\": 10000.0, \"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'echocardiogram': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"splitter\": \"random\", \"max_features\": \"auto\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'fertility': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 0.05, \"max_features\": \"auto\", \"max_iter\": 10000.0, \"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'haberman-survival': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'heart-hungarian': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 0.05, \"max_iter\": 10000.0, \"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'hepatitis': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 7, \"gamma\": 0.1, \"kernel\": \"rbf\", \"max_iter\": 10000.0, \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'ilpd-indian-liver': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'ionosphere': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 7, \"gamma\": 0.1, \"kernel\": \"rbf\", \"max_iter\": 10000.0, \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'iris': [0.0,\n",
|
||||
" {'n_jobs': 10, 'n_estimators': 100, 'be_hyperparams': '{}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'led-display': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'libras': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 0.08, \"max_iter\": 10000.0, \"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'low-res-spect': [0.0,\n",
|
||||
" {'n_jobs': 10, 'n_estimators': 100, 'be_hyperparams': '{}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'lymphography': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 0.05, \"max_iter\": 10000.0, \"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'mammographic': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"kernel\": \"rbf\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'molec-biol-promoter': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"kernel\": \"rbf\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'musk-1': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 0.05, \"gamma\": 0.1, \"kernel\": \"poly\", \"max_iter\": 10000.0, \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'oocytes_merluccius_nucleus_4d': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 8.25, \"gamma\": 0.1, \"kernel\": \"poly\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'oocytes_merluccius_states_2f': [0.0,\n",
|
||||
" {'n_jobs': 10, 'n_estimators': 100, 'be_hyperparams': '{}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'oocytes_trisopterus_nucleus_2f': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'oocytes_trisopterus_states_5b': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 0.11, \"max_iter\": 10000.0, \"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'parkinsons': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'pima': [0.0,\n",
|
||||
" {'n_jobs': 10, 'n_estimators': 100, 'be_hyperparams': '{}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'pittsburg-bridges-MATERIAL': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 7, \"gamma\": 0.1, \"kernel\": \"rbf\", \"max_iter\": 10000.0, \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'pittsburg-bridges-REL-L': [0.0,\n",
|
||||
" {'n_jobs': 10, 'n_estimators': 100, 'be_hyperparams': '{}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'pittsburg-bridges-SPAN': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 0.05, \"max_iter\": 10000.0, \"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'pittsburg-bridges-T-OR-D': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"splitter\": \"random\", \"max_features\": \"auto\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'planning': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 7, \"gamma\": 10.0, \"kernel\": \"rbf\", \"max_iter\": 10000.0, \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'post-operative': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 55, \"degree\": 5, \"gamma\": 0.1, \"kernel\": \"poly\", \"max_iter\": 10000.0, \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'seeds': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 10000.0, \"max_iter\": 10000.0, \"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'statlog-australian-credit': [0.0,\n",
|
||||
" {'n_jobs': 10, 'n_estimators': 100, 'be_hyperparams': '{}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'statlog-german-credit': [0.0,\n",
|
||||
" {'n_jobs': 10, 'n_estimators': 100, 'be_hyperparams': '{}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'statlog-heart': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'statlog-image': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 7, \"max_iter\": 10000.0, \"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'statlog-vehicle': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'synthetic-control': [0.0,\n",
|
||||
" {'n_jobs': 10, 'n_estimators': 100, 'be_hyperparams': '{}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'tic-tac-toe': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 0.2, \"gamma\": 0.1, \"kernel\": \"poly\", \"max_iter\": 10000.0, \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'vertebral-column-2clases': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'wine': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 0.55, \"max_iter\": 10000.0, \"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'zoo': [0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 0.1, \"max_iter\": 10000.0, \"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-']}"
|
||||
"'{\"n_estimators\": 100, \"base_estimator__C\": 0.1, \"base_estimator__max_iter\": 10000.0, \"base_estimator__kernel\": \"liblinear\", \"base_estimator__multiclass_strategy\": \"ovr\"}'"
|
||||
]
|
||||
},
|
||||
"execution_count": 5,
|
||||
@@ -305,67 +84,22 @@
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"data"
|
||||
"json.dumps(res)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 6,
|
||||
"id": "1bf8d699-bc7d-4767-b093-de19bf434c89",
|
||||
"id": "e5fb06aa-40ec-41a3-b9b2-bdeb228aa4f9",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"[0.0,\n",
|
||||
" {'n_jobs': 10,\n",
|
||||
" 'n_estimators': 100,\n",
|
||||
" 'be_hyperparams': '{\"C\": 0.1, \"max_iter\": 10000.0, \"kernel\": \"liblinear\", \"multiclass_strategy\": \"ovr\"}'},\n",
|
||||
" '-program made-']"
|
||||
]
|
||||
},
|
||||
"execution_count": 6,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"value"
|
||||
"fo=open(\"../results/best_results_accuracy_BaggingStree.json\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 7,
|
||||
"id": "6d5847de-7fad-48e4-9763-e825d7331f6d",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"v=value[1]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 8,
|
||||
"id": "95eabf0c-61d0-4a57-adc4-90770716d122",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import json"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 9,
|
||||
"id": "e5fb06aa-40ec-41a3-b9b2-bdeb228aa4f9",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"fo=open(\"../results/best_results_accuracy_ODTE.json\")\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 10,
|
||||
"id": "b6d7f629-c0ca-49b8-ba9f-209794eae18e",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -375,36 +109,287 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 11,
|
||||
"execution_count": 8,
|
||||
"id": "20598416-68bf-4b59-b855-60f7776d8774",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"{'C': 10000.0,\n",
|
||||
" 'gamma': 0.1,\n",
|
||||
" 'kernel': 'rbf',\n",
|
||||
" 'max_iter': 10000.0,\n",
|
||||
" 'multiclass_strategy': 'ovr'}"
|
||||
"{'balance-scale': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 10000.0,\n",
|
||||
" 'base_estimator__gamma': 0.1,\n",
|
||||
" 'base_estimator__kernel': 'rbf',\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'balloons': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 7,\n",
|
||||
" 'base_estimator__gamma': 0.1,\n",
|
||||
" 'base_estimator__kernel': 'rbf',\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'breast-cancer-wisc-diag': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 0.2,\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'breast-cancer-wisc-prog': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 0.2,\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'breast-cancer-wisc': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__kernel': 'rbf',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'breast-cancer': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'cardiotocography-10clases': [0.0, {'n_estimators': 100}, '-program made-'],\n",
|
||||
" 'cardiotocography-3clases': [0.0, {'n_estimators': 100}, '-program made-'],\n",
|
||||
" 'conn-bench-sonar-mines-rocks': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__kernel': 'rbf',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'cylinder-bands': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__kernel': 'rbf',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'dermatology': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 55,\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'echocardiogram': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__splitter': 'random',\n",
|
||||
" 'base_estimator__max_features': 'auto'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'fertility': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 0.05,\n",
|
||||
" 'base_estimator__max_features': 'auto',\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'haberman-survival': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'heart-hungarian': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 0.05,\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'hepatitis': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 7,\n",
|
||||
" 'base_estimator__gamma': 0.1,\n",
|
||||
" 'base_estimator__kernel': 'rbf',\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'ilpd-indian-liver': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'ionosphere': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 7,\n",
|
||||
" 'base_estimator__gamma': 0.1,\n",
|
||||
" 'base_estimator__kernel': 'rbf',\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'iris': [0.0, {'n_estimators': 100}, '-program made-'],\n",
|
||||
" 'led-display': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'libras': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 0.08,\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'low-res-spect': [0.0, {'n_estimators': 100}, '-program made-'],\n",
|
||||
" 'lymphography': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 0.05,\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'mammographic': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__kernel': 'rbf',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'molec-biol-promoter': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__kernel': 'rbf',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'musk-1': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 0.05,\n",
|
||||
" 'base_estimator__gamma': 0.1,\n",
|
||||
" 'base_estimator__kernel': 'poly',\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'oocytes_merluccius_nucleus_4d': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 8.25,\n",
|
||||
" 'base_estimator__gamma': 0.1,\n",
|
||||
" 'base_estimator__kernel': 'poly',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'oocytes_merluccius_states_2f': [0.0,\n",
|
||||
" {'n_estimators': 100},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'oocytes_trisopterus_nucleus_2f': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'oocytes_trisopterus_states_5b': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 0.11,\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'parkinsons': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'pima': [0.0, {'n_estimators': 100}, '-program made-'],\n",
|
||||
" 'pittsburg-bridges-MATERIAL': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 7,\n",
|
||||
" 'base_estimator__gamma': 0.1,\n",
|
||||
" 'base_estimator__kernel': 'rbf',\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'pittsburg-bridges-REL-L': [0.0, {'n_estimators': 100}, '-program made-'],\n",
|
||||
" 'pittsburg-bridges-SPAN': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 0.05,\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'pittsburg-bridges-T-OR-D': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__splitter': 'random',\n",
|
||||
" 'base_estimator__max_features': 'auto'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'planning': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 7,\n",
|
||||
" 'base_estimator__gamma': 10.0,\n",
|
||||
" 'base_estimator__kernel': 'rbf',\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'post-operative': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 55,\n",
|
||||
" 'base_estimator__degree': 5,\n",
|
||||
" 'base_estimator__gamma': 0.1,\n",
|
||||
" 'base_estimator__kernel': 'poly',\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'seeds': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 10000.0,\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'statlog-australian-credit': [0.0, {'n_estimators': 100}, '-program made-'],\n",
|
||||
" 'statlog-german-credit': [0.0, {'n_estimators': 100}, '-program made-'],\n",
|
||||
" 'statlog-heart': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'statlog-image': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 7,\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'statlog-vehicle': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'synthetic-control': [0.0, {'n_estimators': 100}, '-program made-'],\n",
|
||||
" 'tic-tac-toe': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 0.2,\n",
|
||||
" 'base_estimator__gamma': 0.1,\n",
|
||||
" 'base_estimator__kernel': 'poly',\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'vertebral-column-2clases': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'wine': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 0.55,\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-'],\n",
|
||||
" 'zoo': [0.0,\n",
|
||||
" {'n_estimators': 100,\n",
|
||||
" 'base_estimator__C': 0.1,\n",
|
||||
" 'base_estimator__max_iter': 10000.0,\n",
|
||||
" 'base_estimator__kernel': 'liblinear',\n",
|
||||
" 'base_estimator__multiclass_strategy': 'ovr'},\n",
|
||||
" '-program made-']}"
|
||||
]
|
||||
},
|
||||
"execution_count": 11,
|
||||
"execution_count": 8,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"json.loads(data[\"balance-scale\"][1][\"be_hyperparams\"])"
|
||||
"data"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "e0be601d-8fa2-41d2-b0f0-74613586e928",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
|
1
results/best_results_accuracy_BaggingStree.json
Normal file
1
results/best_results_accuracy_BaggingStree.json
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user