mlflow.entities
The mlflow.entities
module defines entities returned by the MLflow
REST API.
-
class
mlflow.entities.
Experiment
(experiment_id, name, artifact_location, lifecycle_stage) Bases:
mlflow.entities._mlflow_object._MLflowObject
Experiment object.
-
class
mlflow.entities.
FileInfo
(path, is_dir, file_size) Bases:
mlflow.entities._mlflow_object._MLflowObject
Metadata about a file or directory.
-
class
mlflow.entities.
Metric
(key, value, timestamp) Bases:
mlflow.entities._mlflow_object._MLflowObject
Metric object.
-
class
mlflow.entities.
Param
(key, value) Bases:
mlflow.entities._mlflow_object._MLflowObject
Parameter object.
-
class
mlflow.entities.
Run
(run_info, run_data) Bases:
mlflow.entities._mlflow_object._MLflowObject
Run object.
-
data
The run data, including metrics, parameters, and tags.
Return type: mlflow.entities.RunData
-
info
The run metadata, such as the run id, start time, and status.
Return type: mlflow.entities.RunInfo
-
-
class
mlflow.entities.
RunData
(metrics=None, params=None, tags=None) Bases:
mlflow.entities._mlflow_object._MLflowObject
Run data (metrics and parameters).
-
metrics
List of
mlflow.entities.Metric
for the current run.
-
params
List of
mlflow.entities.Param
for the current run.
List of
mlflow.entities.RunTag
for the current run.
-
-
class
mlflow.entities.
RunInfo
(run_uuid, experiment_id, name, source_type, source_name, entry_point_name, user_id, status, start_time, end_time, source_version, lifecycle_stage, artifact_uri=None) Bases:
mlflow.entities._mlflow_object._MLflowObject
Metadata about a run.
-
source_name
String name of the source of the run (GitHub URI of the project corresponding to the run, etc).
-
source_type
mlflow.entities.SourceType
describing the source of the run.
-
status
One of the values in
mlflow.entities.RunStatus
describing the status of the run.
-
-
class
mlflow.entities.
RunStatus
Bases:
object
Enum for status of an
mlflow.entities.Run
.
-
class
mlflow.entities.
RunTag
(key, value) Bases:
mlflow.entities._mlflow_object._MLflowObject
Tag object associated with a run.
-
class
mlflow.entities.
SourceType
Bases:
object
Enum for originating source of a
mlflow.entities.Run
.