|
|
|
@@ -133,33 +133,33 @@
|
|
|
|
|
" 'base_estimator': [Stree(random_state=random_state)],\n",
|
|
|
|
|
" 'n_estimators': [10, 25],\n",
|
|
|
|
|
" 'learning_rate': [.5, 1],\n",
|
|
|
|
|
" 'base_estimator__split_criteria': ['max_samples', 'impurity'],\n",
|
|
|
|
|
" 'base_estimator__tol': [.1, 1e-02],\n",
|
|
|
|
|
" 'base_estimator__max_depth': [3, 5, 7],\n",
|
|
|
|
|
" 'base_estimator__C': [1, 7, 55],\n",
|
|
|
|
|
" 'base_estimator__kernel': ['linear']\n",
|
|
|
|
|
" 'estimator__split_criteria': ['max_samples', 'impurity'],\n",
|
|
|
|
|
" 'estimator__tol': [.1, 1e-02],\n",
|
|
|
|
|
" 'estimator__max_depth': [3, 5, 7],\n",
|
|
|
|
|
" 'estimator__C': [1, 7, 55],\n",
|
|
|
|
|
" 'estimator__kernel': ['linear']\n",
|
|
|
|
|
"},\n",
|
|
|
|
|
"{\n",
|
|
|
|
|
" 'base_estimator': [Stree(random_state=random_state)],\n",
|
|
|
|
|
" 'n_estimators': [10, 25],\n",
|
|
|
|
|
" 'learning_rate': [.5, 1],\n",
|
|
|
|
|
" 'base_estimator__split_criteria': ['max_samples', 'impurity'],\n",
|
|
|
|
|
" 'base_estimator__tol': [.1, 1e-02],\n",
|
|
|
|
|
" 'base_estimator__max_depth': [3, 5, 7],\n",
|
|
|
|
|
" 'base_estimator__C': [1, 7, 55],\n",
|
|
|
|
|
" 'base_estimator__degree': [3, 5, 7],\n",
|
|
|
|
|
" 'base_estimator__kernel': ['poly']\n",
|
|
|
|
|
" 'estimator__split_criteria': ['max_samples', 'impurity'],\n",
|
|
|
|
|
" 'estimator__tol': [.1, 1e-02],\n",
|
|
|
|
|
" 'estimator__max_depth': [3, 5, 7],\n",
|
|
|
|
|
" 'estimator__C': [1, 7, 55],\n",
|
|
|
|
|
" 'estimator__degree': [3, 5, 7],\n",
|
|
|
|
|
" 'estimator__kernel': ['poly']\n",
|
|
|
|
|
"},\n",
|
|
|
|
|
"{\n",
|
|
|
|
|
" 'base_estimator': [Stree(random_state=random_state)],\n",
|
|
|
|
|
" 'n_estimators': [10, 25],\n",
|
|
|
|
|
" 'learning_rate': [.5, 1],\n",
|
|
|
|
|
" 'base_estimator__split_criteria': ['max_samples', 'impurity'],\n",
|
|
|
|
|
" 'base_estimator__tol': [.1, 1e-02],\n",
|
|
|
|
|
" 'base_estimator__max_depth': [3, 5, 7],\n",
|
|
|
|
|
" 'base_estimator__C': [1, 7, 55],\n",
|
|
|
|
|
" 'base_estimator__gamma': [.1, 1, 10],\n",
|
|
|
|
|
" 'base_estimator__kernel': ['rbf']\n",
|
|
|
|
|
" 'estimator__split_criteria': ['max_samples', 'impurity'],\n",
|
|
|
|
|
" 'estimator__tol': [.1, 1e-02],\n",
|
|
|
|
|
" 'estimator__max_depth': [3, 5, 7],\n",
|
|
|
|
|
" 'estimator__C': [1, 7, 55],\n",
|
|
|
|
|
" 'estimator__gamma': [.1, 1, 10],\n",
|
|
|
|
|
" 'estimator__kernel': ['rbf']\n",
|
|
|
|
|
"}]"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
@@ -214,7 +214,7 @@
|
|
|
|
|
" base_estimator=Stree(C=55, max_depth=7, random_state=1,\n",
|
|
|
|
|
" split_criteria='max_samples', tol=0.1),\n",
|
|
|
|
|
" learning_rate=0.5, n_estimators=25, random_state=1)\n",
|
|
|
|
|
"Best hyperparameters: {'base_estimator': Stree(C=55, max_depth=7, random_state=1, split_criteria='max_samples', tol=0.1), 'base_estimator__C': 55, 'base_estimator__kernel': 'linear', 'base_estimator__max_depth': 7, 'base_estimator__split_criteria': 'max_samples', 'base_estimator__tol': 0.1, 'learning_rate': 0.5, 'n_estimators': 25}"
|
|
|
|
|
"Best hyperparameters: {'base_estimator': Stree(C=55, max_depth=7, random_state=1, split_criteria='max_samples', tol=0.1), 'estimator__C': 55, 'estimator__kernel': 'linear', 'estimator__max_depth': 7, 'estimator__split_criteria': 'max_samples', 'estimator__tol': 0.1, 'learning_rate': 0.5, 'n_estimators': 25}"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|