|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Loader<M extends Saveable>
:: DeveloperApi ::
Trait for classes which can load models and transformers from files. This should be inherited by an object paired with the model class.
Method Summary | |
---|---|
M |
load(SparkContext sc,
String path)
Load a model from the given path. |
Method Detail |
---|
M load(SparkContext sc, String path)
The model should have been saved by Saveable.save
.
sc
- Spark context used for loading model files.path
- Path specifying the directory to which the model was saved.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |