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 SummaryNested classes/interfaces inherited from interface org.apache.spark.internal.Loggingorg.apache.spark.internal.Logging.LogStringContext, org.apache.spark.internal.Logging.SparkShellLoggingFilter
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.spark.ml.util.BaseReadWritesc, sparkSession, sqlContextMethods inherited from interface org.apache.spark.internal.LogginginitializeForcefully, initializeLogIfNecessary, initializeLogIfNecessary, initializeLogIfNecessary$default$2, isTraceEnabled, log, logBasedOnLevel, logDebug, logDebug, logDebug, logDebug, logError, logError, logError, logError, logInfo, logInfo, logInfo, logInfo, logName, LogStringContext, logTrace, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, logWarning, MDC, org$apache$spark$internal$Logging$$log_, org$apache$spark$internal$Logging$$log__$eq, withLogContext
- 
Constructor Details- 
GeneralMLWriter
 
- 
- 
Method Details- 
formatSpecifies the format of ML export (e.g. "pmml", "internal", or the fully qualified class name for export).- Parameters:
- source- (undocumented)
- Returns:
- (undocumented)
 
- 
sessionDescription copied from interface:BaseReadWriteSets the Spark Session to use for saving/loading.- Specified by:
- sessionin interface- BaseReadWrite
- Overrides:
- sessionin class- MLWriter
- Parameters:
- sparkSession- (undocumented)
- Returns:
- (undocumented)
 
 
-