Skip to content

Commit

Permalink
Upgrade infra base image to focal-20220922 and fix ps.mlflow doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
Yikun committed Oct 20, 2022
1 parent 01c7a46 commit e37095d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dev/infra/Dockerfile
Expand Up @@ -17,9 +17,9 @@

# Image for building and testing Spark branches. Based on Ubuntu 20.04.
# See also in https://hub.docker.com/_/ubuntu
FROM ubuntu:focal-20220801
FROM ubuntu:focal-20220922

ENV FULL_REFRESH_DATE 20220706
ENV FULL_REFRESH_DATE 20221019

ENV DEBIAN_FRONTEND noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN true
Expand Down
2 changes: 1 addition & 1 deletion python/pyspark/pandas/mlflow.py
Expand Up @@ -159,7 +159,7 @@ def load_model(
... lr = LinearRegression()
... lr.fit(train_x, train_y)
... mlflow.sklearn.log_model(lr, "model")
LinearRegression(...)
LinearRegression...
Now that our model is logged using MLflow, we load it back and apply it on a pandas-on-Spark
dataframe:
Expand Down

0 comments on commit e37095d

Please sign in to comment.