public class SparkListenable
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected TrainingMaster |
trainingMaster |
| Constructor and Description |
|---|
SparkListenable() |
| Modifier and Type | Method and Description |
|---|---|
void |
setListeners(java.util.Collection<IterationListener> listeners)
This method allows you to specify IterationListeners for this model.
|
void |
setListeners(IterationListener... listeners)
This method allows you to specify IterationListeners for this model.
|
void |
setListeners(StatsStorageRouter statsStorage,
java.util.Collection<? extends IterationListener> listeners)
Set the listeners, along with a StatsStorageRouter that the results will be shuffled to (in the
case of any listeners that implement the
RoutingIterationListener interface) |
void |
setListeners(StatsStorageRouter statsStorage,
IterationListener... listeners)
Set the listeners, along with a StatsStorageRouter that the results will be shuffled to (in the
case of any listeners that implement the
RoutingIterationListener interface) |
protected TrainingMaster trainingMaster
public void setListeners(@NonNull
java.util.Collection<IterationListener> listeners)
listeners - Iteration listenerspublic void setListeners(@NonNull
IterationListener... listeners)
setListeners(StatsStorageRouter, Collection)listeners - Listeners to setpublic void setListeners(StatsStorageRouter statsStorage, IterationListener... listeners)
RoutingIterationListener interface)statsStorage - Stats storage router to place the results intolisteners - Listeners to setpublic void setListeners(StatsStorageRouter statsStorage, java.util.Collection<? extends IterationListener> listeners)
RoutingIterationListener interface)statsStorage - Stats storage router to place the results intolisteners - Listeners to set