Skip to content

Commit 1568385

Browse files
authored
Merge pull request #395 from alexbrillant/master
H1, H2, H3 Automl Hyperparameter Tuning
2 parents 9b81587 + 2d9385e commit 1568385

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

examples/Introduction to Automatic Hyperparameter Tuning.ipynb

+10-10
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"cell_type": "markdown",
1616
"metadata": {},
1717
"source": [
18-
"# AutoML loop\n",
18+
"## AutoML loop\n",
1919
"\n",
2020
"The step AutoML is a step that can execute any Automatic Machine Learning Algorithms."
2121
]
@@ -24,7 +24,7 @@
2424
"cell_type": "markdown",
2525
"metadata": {},
2626
"source": [
27-
"## 1. Define your pipeline\n",
27+
"### 1. Define your pipeline\n",
2828
"\n",
2929
"Consider multiple sklearn classifiers that each have their own hyperparms: "
3030
]
@@ -102,7 +102,7 @@
102102
"cell_type": "markdown",
103103
"metadata": {},
104104
"source": [
105-
"## 2. Choose a validation splitter\n",
105+
"### 2. Choose a validation splitter\n",
106106
"\n",
107107
"Let's pick the [ValidationSplitter](https://www.neuraxle.org/stable/api/neuraxle.metaopt.auto_ml.html?highlight=validationsplitter#neuraxle.metaopt.auto_ml.ValidationSplitter) which is enough for most machine learning problems:"
108108
]
@@ -131,7 +131,7 @@
131131
"cell_type": "markdown",
132132
"metadata": {},
133133
"source": [
134-
"## 3. Define a the main scoring metric with [ScoringCallback](https://www.neuraxle.org/stable/api/neuraxle.metaopt.callbacks.html?highlight=scoringcallback#neuraxle.metaopt.callbacks.ScoringCallback)\n",
134+
"### 3. Define a the main scoring metric with [ScoringCallback](https://www.neuraxle.org/stable/api/neuraxle.metaopt.callbacks.html?highlight=scoringcallback#neuraxle.metaopt.callbacks.ScoringCallback)\n",
135135
"\n",
136136
"Let's pick the accuracy score as our scoring metric: "
137137
]
@@ -158,7 +158,7 @@
158158
"cell_type": "markdown",
159159
"metadata": {},
160160
"source": [
161-
"## 4. Add metric callbacks with [MetricCallback](https://www.neuraxle.org/stable/api/neuraxle.metaopt.callbacks.html?highlight=metriccallback#neuraxle.metaopt.callbacks.MetricCallback) (optional)\n",
161+
"### 4. Add metric callbacks with [MetricCallback](https://www.neuraxle.org/stable/api/neuraxle.metaopt.callbacks.html?highlight=metriccallback#neuraxle.metaopt.callbacks.MetricCallback) (optional)\n",
162162
"\n",
163163
"Let's add sklearn f1_score as an additional metric callback: "
164164
]
@@ -191,7 +191,7 @@
191191
"cell_type": "markdown",
192192
"metadata": {},
193193
"source": [
194-
"## 5. Select an hyperparams repository \n",
194+
"### 5. Select an hyperparams repository \n",
195195
"\n",
196196
"For the sake of this example, let's pick the [InMemoryHyperparamsRepository](https://www.neuraxle.org/stable/api/neuraxle.metaopt.auto_ml.html?highlight=inmemoryhyperparamsrepository#neuraxle.metaopt.auto_ml.InMemoryHyperparamsRepository) because we don't need to persist trial files:"
197197
]
@@ -237,7 +237,7 @@
237237
"cell_type": "markdown",
238238
"metadata": {},
239239
"source": [
240-
"## 6. Select an hyperparams optimizer \n",
240+
"### 6. Select an hyperparams optimizer \n",
241241
"\n",
242242
"Let's pick the infamous Tree Parzen Estimator algorithm:"
243243
]
@@ -274,7 +274,7 @@
274274
"cell_type": "markdown",
275275
"metadata": {},
276276
"source": [
277-
"## 7. Create, and launch AutoML loop\n",
277+
"### 7. Create, and launch AutoML loop\n",
278278
"\n",
279279
"Create the AutoML step that will execute the training loop:"
280280
]
@@ -312,7 +312,7 @@
312312
"cell_type": "markdown",
313313
"metadata": {},
314314
"source": [
315-
"### Run 10 trials "
315+
"## Run 10 trials "
316316
]
317317
},
318318
{
@@ -2665,7 +2665,7 @@
26652665
"cell_type": "markdown",
26662666
"metadata": {},
26672667
"source": [
2668-
"### Get best model, and predict"
2668+
"## Get best model, and predict"
26692669
]
26702670
},
26712671
{

0 commit comments

Comments
 (0)