Class DefaultStatsUpdateConfiguration
- java.lang.Object
-
- org.deeplearning4j.ui.model.stats.impl.DefaultStatsUpdateConfiguration
-
- All Implemented Interfaces:
Serializable
,StatsUpdateConfiguration
public class DefaultStatsUpdateConfiguration extends Object implements StatsUpdateConfiguration
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultStatsUpdateConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_REPORTING_FREQUENCY
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
collectGarbageCollectionStats()
Should garbage collection stats be collected and reported?boolean
collectHistograms(StatsType type)
Should histograms (per parameter type, or per layer for activations) of the given type be collected?boolean
collectLearningRates()
Should per-parameter type learning rates be collected and reported?boolean
collectMean(StatsType type)
Should the mean values (per parameter type, or per layer for activations) be collected?boolean
collectMeanMagnitudes(StatsType type)
Should the mean magnitude values (per parameter type, or per layer for activations) be collected?boolean
collectMemoryStats()
Should JVM, off-heap and memory stats be collected/reported?boolean
collectPerformanceStats()
Should performance stats be collected/reported? Total time, total examples, total batches, Minibatches/second, examples/secondboolean
collectStdev(StatsType type)
Should the standard devication values (per parameter type, or per layer for activations) be collected?int
numHistogramBins(StatsType type)
Get the number of histogram bins to use for the given type (for use withStatsUpdateConfiguration.collectHistograms(StatsType)
int
reportingFrequency()
Get the reporting frequency, in terms of listener calls
-
-
-
Field Detail
-
DEFAULT_REPORTING_FREQUENCY
public static final int DEFAULT_REPORTING_FREQUENCY
- See Also:
- Constant Field Values
-
-
Method Detail
-
reportingFrequency
public int reportingFrequency()
Description copied from interface:StatsUpdateConfiguration
Get the reporting frequency, in terms of listener calls- Specified by:
reportingFrequency
in interfaceStatsUpdateConfiguration
-
collectPerformanceStats
public boolean collectPerformanceStats()
Description copied from interface:StatsUpdateConfiguration
Should performance stats be collected/reported? Total time, total examples, total batches, Minibatches/second, examples/second- Specified by:
collectPerformanceStats
in interfaceStatsUpdateConfiguration
-
collectMemoryStats
public boolean collectMemoryStats()
Description copied from interface:StatsUpdateConfiguration
Should JVM, off-heap and memory stats be collected/reported?- Specified by:
collectMemoryStats
in interfaceStatsUpdateConfiguration
-
collectGarbageCollectionStats
public boolean collectGarbageCollectionStats()
Description copied from interface:StatsUpdateConfiguration
Should garbage collection stats be collected and reported?- Specified by:
collectGarbageCollectionStats
in interfaceStatsUpdateConfiguration
-
collectLearningRates
public boolean collectLearningRates()
Description copied from interface:StatsUpdateConfiguration
Should per-parameter type learning rates be collected and reported?- Specified by:
collectLearningRates
in interfaceStatsUpdateConfiguration
-
collectHistograms
public boolean collectHistograms(StatsType type)
Description copied from interface:StatsUpdateConfiguration
Should histograms (per parameter type, or per layer for activations) of the given type be collected?- Specified by:
collectHistograms
in interfaceStatsUpdateConfiguration
- Parameters:
type
- Stats type: Parameters, Updates, Activations
-
numHistogramBins
public int numHistogramBins(StatsType type)
Description copied from interface:StatsUpdateConfiguration
Get the number of histogram bins to use for the given type (for use withStatsUpdateConfiguration.collectHistograms(StatsType)
- Specified by:
numHistogramBins
in interfaceStatsUpdateConfiguration
- Parameters:
type
- Stats type: Parameters, Updates, Activatinos
-
collectMean
public boolean collectMean(StatsType type)
Description copied from interface:StatsUpdateConfiguration
Should the mean values (per parameter type, or per layer for activations) be collected?- Specified by:
collectMean
in interfaceStatsUpdateConfiguration
- Parameters:
type
- Stats type: Parameters, Updates, Activations
-
collectStdev
public boolean collectStdev(StatsType type)
Description copied from interface:StatsUpdateConfiguration
Should the standard devication values (per parameter type, or per layer for activations) be collected?- Specified by:
collectStdev
in interfaceStatsUpdateConfiguration
- Parameters:
type
- Stats type: Parameters, Updates, Activations
-
collectMeanMagnitudes
public boolean collectMeanMagnitudes(StatsType type)
Description copied from interface:StatsUpdateConfiguration
Should the mean magnitude values (per parameter type, or per layer for activations) be collected?- Specified by:
collectMeanMagnitudes
in interfaceStatsUpdateConfiguration
- Parameters:
type
- Stats type: Parameters, Updates, Activations
-
-