Skip to content

Commit

Permalink
Fix docs typo :py:class to :py:class: (mlflow#9926)
Browse files Browse the repository at this point in the history
Signed-off-by: Liang Zhang <[email protected]>
  • Loading branch information
liangz1 authored Oct 13, 2023
1 parent ec2cd89 commit e80960b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mlflow/models/evaluation/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1367,14 +1367,14 @@ def fn(model_input):
are regarded as feature columns. If it is Spark DataFrame, only the first 10000
rows in the Spark DataFrame will be used as evaluation data.
- A :py:class`mlflow.data.dataset.Dataset` instance containing evaluation features
- A :py:class:`mlflow.data.dataset.Dataset` instance containing evaluation features
and labels.
:param targets: If ``data`` is a numpy array or list, a numpy array or list of evaluation
labels. If ``data`` is a DataFrame, the string name of a column from ``data``
that contains evaluation labels. Required for classifier and regressor models,
but optional for question-answering, text-summarization, and text models. If
``data`` is a :py:class`mlflow.data.dataset.Dataset` that defines targets,
``data`` is a :py:class:`mlflow.data.dataset.Dataset` that defines targets,
then ``targets`` is optional.
:param model_type: (Optional) A string describing the model type. The default evaluator
Expand Down
2 changes: 1 addition & 1 deletion mlflow/store/tracking/abstract_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def get_run(self, run_id):
Fetch the run from backend store. The resulting :py:class:`Run <mlflow.entities.Run>`
contains a collection of run metadata - :py:class:`RunInfo <mlflow.entities.RunInfo>`,
as well as a collection of run parameters, tags, and metrics -
:py:class`RunData <mlflow.entities.RunData>`. In the case where multiple metrics with the
:py:class:`RunData <mlflow.entities.RunData>`. In the case where multiple metrics with the
same key are logged for the run, the :py:class:`RunData <mlflow.entities.RunData>` contains
the value at the latest timestamp for each metric. If there are multiple values with the
latest timestamp for a given metric, the maximum of these values is returned.
Expand Down

0 comments on commit e80960b

Please sign in to comment.