Class TrainValidationSplitModel.TrainValidationSplitModelWriter

Object
org.apache.spark.ml.util.MLWriter
org.apache.spark.ml.tuning.TrainValidationSplitModel.TrainValidationSplitModelWriter
All Implemented Interfaces:
org.apache.spark.internal.Logging, BaseReadWrite
Enclosing class:
TrainValidationSplitModel

public static final class TrainValidationSplitModel.TrainValidationSplitModelWriter extends MLWriter
Writer for TrainValidationSplitModel. param: instance TrainValidationSplitModel instance used to construct the writer

TrainValidationSplitModel supports an option "persistSubModels", with possible values "true" or "false". If you set the collectSubModels Param before fitting, then you can set "persistSubModels" to "true" in order to persist the subModels. By default, "persistSubModels" will be "true" when subModels are available and "false" otherwise. If subModels are not available, then setting "persistSubModels" to "true" will cause an exception.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.spark.internal.Logging

    org.apache.spark.internal.Logging.LogStringContext, org.apache.spark.internal.Logging.SparkShellLoggingFilter
  • Method Summary

    Methods inherited from class org.apache.spark.ml.util.MLWriter

    option, overwrite, save, session

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

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

    sc, sparkSession, sqlContext

    Methods inherited from interface org.apache.spark.internal.Logging

    initializeForcefully, initializeLogIfNecessary, initializeLogIfNecessary, initializeLogIfNecessary$default$2, isTraceEnabled, log, logDebug, logDebug, logDebug, logDebug, logError, logError, logError, logError, logInfo, logInfo, logInfo, logInfo, logName, LogStringContext, logTrace, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, logWarning, org$apache$spark$internal$Logging$$log_, org$apache$spark$internal$Logging$$log__$eq, withLogContext