Table Of Contents

Search

Enter search terms or a module, class or function name.

Machine Learning utilities

MLflow

Arbitrary MLflow models can be used with Koalas Dataframes, provided they implement the ‘pyfunc’ flavor. This is the case for most frameworks supported by MLflow (scikit-learn, pytorch, tensorflow, …). See comprehensive examples in load_model() for more information.

Note

The MLflow package must be installed in order to use this module. If MLflow is not installed in your environment already, you can install it with the following command:

pip install koalas[mlflow]

PythonModelWrapper(path, run_id, …) A wrapper around MLflow’s Python object model.
load_model(path[, run_id, predict_type]) Loads an MLflow model into an wrapper that can be used both for pandas and Koalas DataFrame.
Scroll To Top