mirror of
https://github.com/Doctorado-ML/benchmark.git
synced 2025-08-16 16:05:54 +00:00
Add njobs and nestimators to build_grid
This commit is contained in:
@@ -1,5 +1,11 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
"n_jobs": [
|
||||||
|
-1
|
||||||
|
],
|
||||||
|
"n_estimators": [
|
||||||
|
100
|
||||||
|
],
|
||||||
"base_estimator__C": [
|
"base_estimator__C": [
|
||||||
1.0
|
1.0
|
||||||
],
|
],
|
||||||
@@ -11,6 +17,12 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"n_jobs": [
|
||||||
|
-1
|
||||||
|
],
|
||||||
|
"n_estimators": [
|
||||||
|
100
|
||||||
|
],
|
||||||
"base_estimator__C": [
|
"base_estimator__C": [
|
||||||
0.001,
|
0.001,
|
||||||
0.0275,
|
0.0275,
|
||||||
@@ -32,6 +44,12 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"n_jobs": [
|
||||||
|
-1
|
||||||
|
],
|
||||||
|
"n_estimators": [
|
||||||
|
100
|
||||||
|
],
|
||||||
"base_estimator__C": [
|
"base_estimator__C": [
|
||||||
0.05,
|
0.05,
|
||||||
1.0,
|
1.0,
|
||||||
@@ -60,6 +78,12 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"n_jobs": [
|
||||||
|
-1
|
||||||
|
],
|
||||||
|
"n_estimators": [
|
||||||
|
100
|
||||||
|
],
|
||||||
"base_estimator__C": [
|
"base_estimator__C": [
|
||||||
0.05,
|
0.05,
|
||||||
0.2,
|
0.2,
|
||||||
|
@@ -81,7 +81,7 @@ for kernel in kernels:
|
|||||||
results[kernel]["C"].append(1.0)
|
results[kernel]["C"].append(1.0)
|
||||||
|
|
||||||
for item in results:
|
for item in results:
|
||||||
results_tmp = {}
|
results_tmp = {"n_jobs": [-1], "n_estimators": [100]}
|
||||||
for key, value in results[item].items():
|
for key, value in results[item].items():
|
||||||
new_key = f"base_estimator__{key}"
|
new_key = f"base_estimator__{key}"
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user