Interface DefaultParamsReadable<T>

Type Parameters:
T - ML instance type
All Superinterfaces:
MLReadable<T>

public interface DefaultParamsReadable<T> extends MLReadable<T>
Helper trait for making simple Params types readable. If a Params class stores all data as Param values, then extending this trait will provide a default implementation of reading saved instances of the class. This only handles simple Param types; e.g., it will not handle Dataset.

See Also:
  • DefaultParamsWritable, the counterpart to this trait
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns an MLReader instance for this class.

    Methods inherited from interface org.apache.spark.ml.util.MLReadable

    load
  • Method Details

    • read

      MLReader<T> read()
      Description copied from interface: MLReadable
      Returns an MLReader instance for this class.
      Specified by:
      read in interface MLReadable<T>
      Returns:
      (undocumented)