Package org.apache.spark.ml.util
Class GeneralMLWriter
Object
org.apache.spark.ml.util.MLWriter
org.apache.spark.ml.util.GeneralMLWriter
- All Implemented Interfaces:
org.apache.spark.internal.Logging
,BaseReadWrite
A ML Writer which delegates based on the requested format.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.spark.internal.Logging
org.apache.spark.internal.Logging.SparkShellLoggingFilter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the format of ML export (e.g.session
(SparkSession sparkSession) Sets the Spark Session to use for saving/loading.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
-
Constructor Details
-
GeneralMLWriter
-
-
Method Details
-
format
Specifies the format of ML export (e.g. "pmml", "internal", or the fully qualified class name for export).- Parameters:
source
- (undocumented)- Returns:
- (undocumented)
-
session
Description copied from interface:BaseReadWrite
Sets the Spark Session to use for saving/loading.- Specified by:
session
in interfaceBaseReadWrite
- Overrides:
session
in classMLWriter
- Parameters:
sparkSession
- (undocumented)- Returns:
- (undocumented)
-