Packages

t

org.apache.spark.ml.util

MLWriterFormat

trait MLWriterFormat extends AnyRef

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" )
Source
ReadWrite.scala
Since

2.4.0

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MLWriterFormat
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def write(path: String, session: SparkSession, optionMap: Map[String, String], stage: PipelineStage): Unit

    Function to write the provided pipeline stage out.

    Function to write the provided pipeline stage out.

    path

    The path to write the result out to.

    session

    SparkSession associated with the write request.

    optionMap

    User provided options stored as strings.

    stage

    The pipeline stage to be saved.

    Annotations
    @Since( "2.4.0" )