Reads an ML instance from the input path, a shortcut of read.load(path)
.
Reads an ML instance from the input path, a shortcut of read.load(path)
.
Implementing classes should override this to be Java-friendly.
Returns an MLReader instance for this class.
Returns an MLReader instance for this class.
:: DeveloperApi ::
Helper trait for making simple
Params
types readable. If aParams
class stores all data as org.apache.spark.ml.param.Param values, then extending this trait will provide a default implementation of reading saved instances of the class. This only handles simple org.apache.spark.ml.param.Param types; e.g., it will not handle org.apache.spark.sql.Dataset.ML instance type
DefaultParamsWritable
, the counterpart to this trait