public final class TrainingEvent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TrainingEvent.Type
Type of a training event.
|
Modifier and Type | Field and Description |
---|---|
static TrainingEvent.Type |
EPOCH_FINISHED
Specifies that training epoch has finished.
|
static TrainingEvent.Type |
EPOCH_STARTED
Specifies that training epoch has started.
|
static TrainingEvent.Type |
ITERATION_FINISHED
Specifies that training iteration has finished.
|
static TrainingEvent.Type |
MINI_BATCH
Specifies mini batch event.
|
static TrainingEvent.Type |
STARTED
Specifies that training has started.
|
static TrainingEvent.Type |
STOPPED
Specifies that training has stopped.
|
Constructor and Description |
---|
TrainingEvent(BackpropagationTrainer source,
TrainingEvent.Type type)
Constructs a new TrainingEvent with specified source and type.
|
Modifier and Type | Method and Description |
---|---|
BackpropagationTrainer |
getSource()
Gets the source of the event.
|
TrainingEvent.Type |
getType()
Gets the type of the event.
|
public static TrainingEvent.Type STARTED
public static TrainingEvent.Type STOPPED
public static TrainingEvent.Type EPOCH_STARTED
public static TrainingEvent.Type EPOCH_FINISHED
public static TrainingEvent.Type MINI_BATCH
public static TrainingEvent.Type ITERATION_FINISHED
public TrainingEvent(BackpropagationTrainer source, TrainingEvent.Type type)
source
- source of the event, typically some training algorithmtype
- type of the eventpublic BackpropagationTrainer getSource()
public TrainingEvent.Type getType()
Copyright © 2022. All rights reserved.