T
- ML instance typepublic abstract class MLReader<T> extends Object implements BaseReadWrite
Constructor and Description |
---|
MLReader() |
Modifier and Type | Method and Description |
---|---|
abstract T |
load(String path)
Loads the ML component from the input path.
|
MLReader<T> |
session(SparkSession sparkSession)
Sets the Spark Session to use for saving/loading.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
sc, sparkSession, sqlContext
public abstract T load(String path)
path
- (undocumented)public MLReader<T> session(SparkSession sparkSession)
BaseReadWrite
session
in interface BaseReadWrite
sparkSession
- (undocumented)