diff --git a/intermediate_source/ax_multiobjective_nas_tutorial.py b/intermediate_source/ax_multiobjective_nas_tutorial.py index 0f1ae21a55..57f09bfae5 100644 --- a/intermediate_source/ax_multiobjective_nas_tutorial.py +++ b/intermediate_source/ax_multiobjective_nas_tutorial.py @@ -103,7 +103,7 @@ def trainer( # Setting up the Runner # --------------------- # -# Ax’s `Runner `__ +# Ax’s `Runner `__ # abstraction allows writing interfaces to various backends. # Ax already comes with Runner for TorchX, and so we just need to # configure it. For the purpose of this tutorial we run jobs locally @@ -210,14 +210,14 @@ def trainer( # Setting up Metrics # ------------------ # -# Ax has the concept of a `Metric `__ +# Ax has the concept of a `Metric `__ # that defines properties of outcomes and how observations are obtained # for these outcomes. This allows e.g. encoding how data is fetched from # some distributed execution backend and post-processed before being # passed as input to Ax. # # In this tutorial we will use -# `multi-objective optimization `__ +# `multi-objective optimization `__ # with the goal of maximizing the validation accuracy and minimizing # the number of model parameters. The latter represents a simple proxy # of model latency, which is hard to estimate accurately for small ML @@ -228,7 +228,7 @@ def trainer( # fashion locally and write the results to the ``log_dir`` based on the trial # index (see the ``trainer()`` function above). We will define a metric # class that is aware of that logging directory. By subclassing -# `TensorboardCurveMetric `__ +# `TensorboardMetric `__ # we get the logic to read and parse the TensorBoard logs for free. # @@ -281,7 +281,7 @@ def is_available_while_running(cls): # ------------------------------------- # # The way to tell Ax what it should optimize is by means of an -# `OptimizationConfig `__. +# `OptimizationConfig `__. # Here we use a ``MultiObjectiveOptimizationConfig`` as we will # be performing multi-objective optimization. # @@ -314,14 +314,14 @@ def is_available_while_running(cls): # Creating the Ax Experiment # -------------------------- # -# In Ax, the `Experiment `__ +# In Ax, the `Experiment `__ # object is the object that stores all the information about the problem # setup. # # .. tip: # ``Experiment`` objects can be serialized to JSON or stored to a # database backend such as MySQL in order to persist and be available -# to load on different machines. See the the `Ax Docs `__ +# to load on different machines. See the `Ax Docs `__ # on the storage functionality for details. # @@ -338,10 +338,10 @@ def is_available_while_running(cls): # Choosing the Generation Strategy # -------------------------------- # -# A `GenerationStrategy `__ +# A `GenerationStrategy `__ # is the abstract representation of how we would like to perform the # optimization. While this can be customized (if you’d like to do so, see -# `this tutorial `__), +# `this tutorial `__), # in most cases Ax can automatically determine an appropriate strategy # based on the search space, optimization config, and the total number # of trials we want to run. @@ -371,7 +371,7 @@ def is_available_while_running(cls): # and retrieve results. In the case of this tutorial, it is simply reading # and parsing the locally saved logs. In a remote execution setting, # it would call APIs. The following illustration from the Ax -# `Scheduler tutorial `__ +# `Scheduler tutorial `__ # summarizes how the Scheduler interacts with external systems used to run # trial evaluations: # @@ -444,7 +444,7 @@ def is_available_while_running(cls): # Ax uses Plotly to produce interactive plots, which allow you to # do things like zoom, crop, or hover in order to view details # of components of the plot. Try it out, and take a look at the -# `visualization tutorial `__ +# `visualization tutorial `__ # if you'd like to learn more). # # The final optimization results are shown in the figure below where