public interface Loader<M extends Saveable>
| Modifier and Type | Method and Description | 
|---|---|
M | 
load(SparkContext sc,
    String path)
Load a model from the given path. 
 | 
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.