Package org.apache.spark.ml.util
Class MLReader<T>
Object
org.apache.spark.ml.util.MLReader<T>
- Type Parameters:
T- ML instance type
- All Implemented Interfaces:
org.apache.spark.ml.util.BaseReadWrite
Abstract class for utility classes that can load ML instances.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.spark.ml.util.BaseReadWrite
org$apache$spark$ml$util$BaseReadWrite$$optionSparkSession, org$apache$spark$ml$util$BaseReadWrite$$optionSparkSession_$eq, sc, sparkSession, sqlContext
-
Constructor Details
-
MLReader
public MLReader()
-
-
Method Details
-
load
Loads the ML component from the input path.- Parameters:
path- (undocumented)- Returns:
- (undocumented)
-
session
- Specified by:
sessionin interfaceorg.apache.spark.ml.util.BaseReadWrite
-