MLReadable

class pyspark.ml.util.MLReadable

Mixin for instances that provide MLReader.

Methods

load(path)

Reads an ML instance from the input path, a shortcut of read().load(path).

read()

Returns an MLReader instance for this class.

Methods Documentation

classmethod load(path: str) → RL

Reads an ML instance from the input path, a shortcut of read().load(path).

classmethod read()pyspark.ml.util.MLReader[RL]

Returns an MLReader instance for this class.