|
7 | 7 | "## AutoML Sweepable API\n", |
8 | 8 | "\n", |
9 | 9 | "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", |
11 | 11 | "- how to use `AutoML().CreateSweepableEstimator` to create `SweepableEstimator`.\n", |
12 | 12 | "- how to create `SweepablePipeline` for multiple trainer candidates.\n" |
13 | 13 | ] |
|
72 | 72 | "cell_type": "markdown", |
73 | 73 | "metadata": {}, |
74 | 74 | "source": [ |
75 | | - "#### Use built-in sweepable estimators\n", |
| 75 | + "#### Use `AutoTrainer` for built-in sweepable estimator candidates.\n", |
76 | 76 | "\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." |
78 | 78 | ] |
79 | 79 | }, |
80 | 80 | { |
|
90 | 90 | }, |
91 | 91 | "outputs": [], |
92 | 92 | "source": [ |
| 93 | + "var context = new MLContext();\n", |
93 | 94 | "var regressionTrainerCandidates = context.Auto().Regression();\n", |
94 | 95 | "var binaryClassificationTrainerCandidates = context.Auto().BinaryClassification();\n", |
95 | 96 | "var multiclassClassificationTrainerCandidates = context.Auto().MultiClassification();" |
|
123 | 124 | }, |
124 | 125 | "outputs": [], |
125 | 126 | "source": [ |
126 | | - "var context = new MLContext();\n", |
127 | 127 | "var lgbmSearchSpace = new SearchSpace<LgbmOption>();\n", |
128 | 128 | "var sweepableLgbm = context.Auto().CreateSweepableEstimator((context, param) => {\n", |
129 | 129 | " var option = new LightGbmRegressionTrainer.Options()\n", |
|
0 commit comments