$ pip install mlflow
import mlflow
MLFLOW_TRACKING_SERVER = "http://localhost:5000"
MLFLOW_EXPERIMENT = "ames-housing"
mlflow.set_tracking_uri(MLFLOW_TRACKING_SERVER)
mlflow.set_experiment(MLFLOW_EXPERIMENT)
mlflow.sklearn.autolog()
with mlflow.start_run():
pipeline.fit(train_input, train_output)
pipeline.score(test_input, test_output)