TrainValidationSplitModel.TrainValidationSplitModelWriter (Spark 3.5.5 JavaDoc) (original) (raw)
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.SparkShellLoggingFilter`
Method Summary
* ### Methods inherited from class org.apache.spark.ml.util.[MLWriter](../../../../../org/apache/spark/ml/util/MLWriter.html "class in org.apache.spark.ml.util") `[option](../../../../../org/apache/spark/ml/util/MLWriter.html#option-java.lang.String-java.lang.String-), [overwrite](../../../../../org/apache/spark/ml/util/MLWriter.html#overwrite--), [save](../../../../../org/apache/spark/ml/util/MLWriter.html#save-java.lang.String-), [session](../../../../../org/apache/spark/ml/util/MLWriter.html#session-org.apache.spark.sql.SparkSession-)` * ### Methods inherited from class Object `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait` * ### Methods inherited from interface org.apache.spark.ml.util.[BaseReadWrite](../../../../../org/apache/spark/ml/util/BaseReadWrite.html "interface in org.apache.spark.ml.util") `[sc](../../../../../org/apache/spark/ml/util/BaseReadWrite.html#sc--), [sparkSession](../../../../../org/apache/spark/ml/util/BaseReadWrite.html#sparkSession--), [sqlContext](../../../../../org/apache/spark/ml/util/BaseReadWrite.html#sqlContext--)` * ### Methods inherited from interface org.apache.spark.internal.Logging `$init$, initializeForcefully, initializeLogIfNecessary, initializeLogIfNecessary, initializeLogIfNecessary$default$2, initLock, isTraceEnabled, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning, org$apache$spark$internal$Logging$$log__$eq, org$apache$spark$internal$Logging$$log_, uninitialize`