Class CrossValidatorModel.CrossValidatorModelWriter

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

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

CrossValidatorModelWriter 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.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, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning, org$apache$spark$internal$Logging$$log_, org$apache$spark$internal$Logging$$log__$eq