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:
- BaseReadWrite
Abstract class for utility classes that can load ML instances.
 
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.spark.ml.util.BaseReadWritesc, sparkSession, sqlContext
- 
Constructor Details- 
MLReaderpublic MLReader()
 
- 
- 
Method Details- 
loadLoads the ML component from the input path.- Parameters:
- path- (undocumented)
- Returns:
- (undocumented)
 
- 
sessionDescription copied from interface:BaseReadWriteSets the Spark Session to use for saving/loading.- Specified by:
- sessionin interface- BaseReadWrite
- Parameters:
- sparkSession- (undocumented)
- Returns:
- (undocumented)
 
 
-