Packages

c

org.apache.spark.ml.tuning.TrainValidationSplitModel

TrainValidationSplitModelWriter

final class TrainValidationSplitModelWriter extends MLWriter

Writer for TrainValidationSplitModel.

Annotations
@Since("2.3.0")
Source
TrainValidationSplit.scala
Linear Supertypes
MLWriter, Logging, BaseReadWrite, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TrainValidationSplitModelWriter
  2. MLWriter
  3. Logging
  4. BaseReadWrite
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. implicit class LogStringContext extends AnyRef
    Definition Classes
    Logging

Value Members

  1. def option(key: String, value: String): TrainValidationSplitModelWriter.this.type

    Adds an option to the underlying MLWriter.

    Adds an option to the underlying MLWriter. See the documentation for the specific model's writer for possible options. The option name (key) is case-insensitive.

    Definition Classes
    MLWriter
    Annotations
    @Since("2.3.0")
  2. def overwrite(): TrainValidationSplitModelWriter.this.type

    Overwrites if the output path already exists.

    Overwrites if the output path already exists.

    Definition Classes
    MLWriter
    Annotations
    @Since("1.6.0")
  3. def save(path: String): Unit

    Saves the ML instances to the input path.

    Saves the ML instances to the input path.

    Definition Classes
    MLWriter
    Annotations
    @Since("1.6.0") @throws("If the input path already exists but overwrite is not enabled.")
  4. def session(sparkSession: SparkSession): TrainValidationSplitModelWriter.this.type

    Sets the Spark Session to use for saving/loading.

    Sets the Spark Session to use for saving/loading.

    Definition Classes
    MLWriter → BaseReadWrite
    Annotations
    @Since("1.6.0")