Package

org.apache.spark.ml

util

Permalink

package util

Visibility
  1. Public
  2. All

Type Members

  1. trait DefaultParamsReadable[T] extends MLReadable[T]

    Permalink

    :: DeveloperApi ::

    :: DeveloperApi ::

    Helper trait for making simple Params types readable. If a Params 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.

    T

    ML instance type

    Annotations
    @DeveloperApi()
    See also

    DefaultParamsWritable, the counterpart to this trait

  2. trait DefaultParamsWritable extends MLWritable

    Permalink

    :: DeveloperApi ::

    :: DeveloperApi ::

    Helper trait for making simple Params types writable. If a Params class stores all data as org.apache.spark.ml.param.Param values, then extending this trait will provide a default implementation of writing 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.

    Annotations
    @DeveloperApi()
    See also

    DefaultParamsReadable, the counterpart to this trait

  3. trait GeneralMLWritable extends MLWritable

    Permalink

    Trait for classes that provide GeneralMLWriter.

    Trait for classes that provide GeneralMLWriter.

    Annotations
    @Since( "2.4.0" ) @Unstable()
  4. class GeneralMLWriter extends MLWriter with Logging

    Permalink

    A ML Writer which delegates based on the requested format.

    A ML Writer which delegates based on the requested format.

    Annotations
    @Unstable() @Since( "2.4.0" )
  5. trait Identifiable extends AnyRef

    Permalink

    :: DeveloperApi ::

    :: DeveloperApi ::

    Trait for an object with an immutable unique ID that identifies itself and its derivatives.

    WARNING: There have not yet been final discussions on this API, so it may be broken in future releases.

    Annotations
    @DeveloperApi()
  6. trait MLFormatRegister extends MLWriterFormat

    Permalink

    ML export formats for should implement this trait so that users can specify a shortname rather than the fully qualified class name of the exporter.

    ML export formats for should implement this trait so that users can specify a shortname rather than the fully qualified class name of the exporter.

    A new instance of this class will be instantiated each time a save call is made.

    Annotations
    @Unstable() @Since( "2.4.0" )
    Since

    2.4.0

  7. trait MLReadable[T] extends AnyRef

    Permalink

    Trait for objects that provide MLReader.

    Trait for objects that provide MLReader.

    T

    ML instance type

    Annotations
    @Since( "1.6.0" )
  8. abstract class MLReader[T] extends BaseReadWrite

    Permalink

    Abstract class for utility classes that can load ML instances.

    Abstract class for utility classes that can load ML instances.

    T

    ML instance type

    Annotations
    @Since( "1.6.0" )
  9. trait MLWritable extends AnyRef

    Permalink

    Trait for classes that provide MLWriter.

    Trait for classes that provide MLWriter.

    Annotations
    @Since( "1.6.0" )
  10. abstract class MLWriter extends BaseReadWrite with Logging

    Permalink

    Abstract class for utility classes that can save ML instances in Spark's internal format.

    Abstract class for utility classes that can save ML instances in Spark's internal format.

    Annotations
    @Since( "1.6.0" )
  11. trait MLWriterFormat extends AnyRef

    Permalink

    Abstract class to be implemented by objects that provide ML exportability.

    Abstract class to be implemented by objects that provide ML exportability.

    A new instance of this class will be instantiated each time a save call is made.

    Must have a valid zero argument constructor which will be called to instantiate.

    Annotations
    @Unstable() @Since( "2.4.0" )
    Since

    2.4.0

Value Members

  1. object Identifiable

    Permalink

    :: DeveloperApi ::

    :: DeveloperApi ::

    Annotations
    @DeveloperApi()

Members