Package org.apache.spark.ml
Interface MLEvents
- All Superinterfaces:
- org.apache.spark.internal.Logging
public interface MLEvents
extends org.apache.spark.internal.Logging
A small trait that defines some methods to send 
MLEvent.- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.spark.internal.Loggingorg.apache.spark.internal.Logging.LogStringContext, org.apache.spark.internal.Logging.SparkShellLoggingFilter
- 
Method SummaryModifier and TypeMethodDescriptionorg.apache.spark.scheduler.LiveListenerBusvoidLogMLEventto send.<M extends Model<M>>
 MwithFitEvent(Estimator<M> estimator, Dataset<?> dataset, scala.Function0<M> func) <T> TwithLoadInstanceEvent(MLReader<T> reader, String path, scala.Function0<T> func) voidwithSaveInstanceEvent(MLWriter writer, String path, scala.Function0<scala.runtime.BoxedUnit> func) withTransformEvent(Transformer transformer, Dataset<?> input, scala.Function0<Dataset<Row>> func) Methods 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
- 
Method Details- 
listenerBusorg.apache.spark.scheduler.LiveListenerBus listenerBus()
- 
logEventLogMLEventto send. By default, it emits a debug-level log.- Parameters:
- event- (undocumented)
 
- 
withFitEvent
- 
withLoadInstanceEvent
- 
withSaveInstanceEvent
- 
withTransformEvent
 
-