MLReadableΒΆ

class pyspark.ml.util.MLReadable[source]ΒΆ

Mixin for instances that provide MLReader.

New in version 2.0.0.

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[source]ΒΆ

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

classmethod read() β†’ pyspark.ml.util.MLReader[RL][source]ΒΆ

Returns an MLReader instance for this class.