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.
-
classmethod