Skip to content

Commit 384168b

Browse files
update
1 parent d589aa4 commit 384168b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

machine-learning/05 - AutoML Sweepable API.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"## AutoML Sweepable API\n",
88
"\n",
99
"This Notebook shows how to use `Sweepable` API to fully customize the pipeline or search space in your AutoML task. In this notebook, you will learn\n",
10-
"- use built-in `SweepableEstimator` to simplify your work.\n",
10+
"- use `AutoTrainer` to simplify your work.\n",
1111
"- how to use `AutoML().CreateSweepableEstimator` to create `SweepableEstimator`.\n",
1212
"- how to create `SweepablePipeline` for multiple trainer candidates.\n"
1313
]
@@ -72,9 +72,9 @@
7272
"cell_type": "markdown",
7373
"metadata": {},
7474
"source": [
75-
"#### Use built-in sweepable estimators\n",
75+
"#### Use `AutoTrainer` for built-in sweepable estimator candidates.\n",
7676
"\n",
77-
"`AutoML` provides built-in sweepable estimator candidates for binary-classification, multi-class classification and regression. For those scenarios, you can simply use those candidates instead of creating `SweepableEstimator` from scratch."
77+
"`AutoTrainer` provides built-in sweepable estimator candidates for binary-classification, multi-class classification and regression. For those scenarios, you can simply use those candidates instead of creating `SweepableEstimator` from scratch."
7878
]
7979
},
8080
{
@@ -90,6 +90,7 @@
9090
},
9191
"outputs": [],
9292
"source": [
93+
"var context = new MLContext();\n",
9394
"var regressionTrainerCandidates = context.Auto().Regression();\n",
9495
"var binaryClassificationTrainerCandidates = context.Auto().BinaryClassification();\n",
9596
"var multiclassClassificationTrainerCandidates = context.Auto().MultiClassification();"
@@ -123,7 +124,6 @@
123124
},
124125
"outputs": [],
125126
"source": [
126-
"var context = new MLContext();\n",
127127
"var lgbmSearchSpace = new SearchSpace<LgbmOption>();\n",
128128
"var sweepableLgbm = context.Auto().CreateSweepableEstimator((context, param) => {\n",
129129
" var option = new LightGbmRegressionTrainer.Options()\n",

0 commit comments

Comments
 (0)