Skip to content

Commit

Permalink
revert python ver
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyliweishih committed Jul 30, 2020
1 parent 378e0d2 commit f111cfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
2 changes: 1 addition & 1 deletion docs/source/user_guide.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.4"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down
24 changes: 1 addition & 23 deletions docs/source/user_guide/automl.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -67,28 +67,6 @@
"The AutoML interface supports a variety of other parameters. For a comprehensive list, please [refer to the API reference.](../generated/evalml.automl.AutoMLSearch.ipynb)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Using custom pipelines\n",
"EvalML's automl algorithm searches through a set of pipelines by default. To change to this set of pipelines you can use the `allowed_pipelines` parameter and supply your own [custom pipelines](pipelines.ipynb) and [components](components.ipynb). Note: doing so will replace the default set of pipelines."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"from evalml.pipelines import MulticlassClassificationPipeline\n",
"\n",
"class CustomMulticlassClassificationPipeline(MulticlassClassificationPipeline):\n",
" component_graph = ['Simple Imputer', 'Random Forest Classifier']\n",
"\n",
"automl_custom = evalml.automl.AutoMLSearch(problem_type='multiclass', allowed_pipelines=[CustomMulticlassClassificationPipeline])"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -207,7 +185,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.4"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down

0 comments on commit f111cfc

Please sign in to comment.