From d7e75ef95d36fe44fff0c83f7b1de15f26367266 Mon Sep 17 00:00:00 2001 From: eddiebergman Date: Tue, 16 Aug 2022 13:40:07 +0200 Subject: [PATCH] Fix doc links --- autosklearn/estimators.py | 4 ++-- autosklearn/experimental/askl2.py | 2 +- examples/40_advanced/example_get_pipeline_components.py | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/autosklearn/estimators.py b/autosklearn/estimators.py index 0549abf2d8..1a094d2582 100644 --- a/autosklearn/estimators.py +++ b/autosklearn/estimators.py @@ -275,12 +275,12 @@ def __init__( smac_scenario_args : dict, optional (None) Additional arguments inserted into the scenario of SMAC. See the - `SMAC documentation `_ + `SMAC documentation `_ for a list of available arguments. get_smac_object_callback : callable Callback function to create an object of class - `smac.optimizer.smbo.SMBO `_. + `smac.optimizer.smbo.SMBO `_. The function must accept the arguments ``scenario_dict``, ``instances``, ``num_params``, ``runhistory``, ``seed`` and ``ta``. This is an advanced feature. Use only if you are familiar with diff --git a/autosklearn/experimental/askl2.py b/autosklearn/experimental/askl2.py index 47a3d4c5ab..317f0be5b1 100644 --- a/autosklearn/experimental/askl2.py +++ b/autosklearn/experimental/askl2.py @@ -263,7 +263,7 @@ def __init__( smac_scenario_args : dict, optional (None) Additional arguments inserted into the scenario of SMAC. See the - `SMAC documentation `_ + `SMAC documentation `_ for a list of available arguments. logging_config : dict, optional (None) diff --git a/examples/40_advanced/example_get_pipeline_components.py b/examples/40_advanced/example_get_pipeline_components.py index 4cf113aa4b..81b23be3b5 100644 --- a/examples/40_advanced/example_get_pipeline_components.py +++ b/examples/40_advanced/example_get_pipeline_components.py @@ -87,8 +87,7 @@ # # Auto-sklearn also keeps detailed statistics of the hyperparameter # optimization procedurce, which are stored in a so-called -# `run history `_. +# `run history `_. print(automl.automl_.runhistory_)