Package org.apache.spark.ml.util
Interface MLReadable<T>
- Type Parameters:
T
- ML instance type
- All Known Subinterfaces:
DefaultParamsReadable<T>
public interface MLReadable<T>
Trait for objects that provide
MLReader
.
-
Method Summary
-
Method Details
-
load
Reads an ML instance from the input path, a shortcut ofread.load(path)
.- Parameters:
path
- (undocumented)- Returns:
- (undocumented)
- Note:
- Implementing classes should override this to be Java-friendly.
-
read
Returns anMLReader
instance for this class.- Returns:
- (undocumented)
-