public interface MLEvents
extends org.apache.spark.internal.Logging
MLEvent
.Modifier and Type | Method and Description |
---|---|
org.apache.spark.scheduler.LiveListenerBus |
listenerBus() |
void |
logEvent(MLEvent event)
Log
MLEvent to send. |
<M extends Model<M>> |
withFitEvent(Estimator<M> estimator,
Dataset<?> dataset,
scala.Function0<M> func) |
<T> T |
withLoadInstanceEvent(MLReader<T> reader,
String path,
scala.Function0<T> func) |
void |
withSaveInstanceEvent(MLWriter writer,
String path,
scala.Function0<scala.runtime.BoxedUnit> func) |
Dataset<Row> |
withTransformEvent(Transformer transformer,
Dataset<?> input,
scala.Function0<Dataset<Row>> func) |
$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
org.apache.spark.scheduler.LiveListenerBus listenerBus()
void logEvent(MLEvent event)
MLEvent
to send. By default, it emits a debug-level log.event
- (undocumented)<M extends Model<M>> M withFitEvent(Estimator<M> estimator, Dataset<?> dataset, scala.Function0<M> func)
<T> T withLoadInstanceEvent(MLReader<T> reader, String path, scala.Function0<T> func)
void withSaveInstanceEvent(MLWriter writer, String path, scala.Function0<scala.runtime.BoxedUnit> func)