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, waitsc, sparkSession, sqlContextpublic abstract T load(String path)
path - (undocumented)public MLReader<T> session(SparkSession sparkSession)
BaseReadWritesession in interface BaseReadWritesparkSession - (undocumented)