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 classDefaultStatsUpdateConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_REPORTING_FREQUENCY
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancollectGarbageCollectionStats()Should garbage collection stats be collected and reported?booleancollectHistograms(StatsType type)Should histograms (per parameter type, or per layer for activations) of the given type be collected?booleancollectLearningRates()Should per-parameter type learning rates be collected and reported?booleancollectMean(StatsType type)Should the mean values (per parameter type, or per layer for activations) be collected?booleancollectMeanMagnitudes(StatsType type)Should the mean magnitude values (per parameter type, or per layer for activations) be collected?booleancollectMemoryStats()Should JVM, off-heap and memory stats be collected/reported?booleancollectPerformanceStats()Should performance stats be collected/reported? Total time, total examples, total batches, Minibatches/second, examples/secondbooleancollectStdev(StatsType type)Should the standard devication values (per parameter type, or per layer for activations) be collected?intnumHistogramBins(StatsType type)Get the number of histogram bins to use for the given type (for use withStatsUpdateConfiguration.collectHistograms(StatsType)intreportingFrequency()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:StatsUpdateConfigurationGet the reporting frequency, in terms of listener calls- Specified by:
reportingFrequencyin interfaceStatsUpdateConfiguration
-
collectPerformanceStats
public boolean collectPerformanceStats()
Description copied from interface:StatsUpdateConfigurationShould performance stats be collected/reported? Total time, total examples, total batches, Minibatches/second, examples/second- Specified by:
collectPerformanceStatsin interfaceStatsUpdateConfiguration
-
collectMemoryStats
public boolean collectMemoryStats()
Description copied from interface:StatsUpdateConfigurationShould JVM, off-heap and memory stats be collected/reported?- Specified by:
collectMemoryStatsin interfaceStatsUpdateConfiguration
-
collectGarbageCollectionStats
public boolean collectGarbageCollectionStats()
Description copied from interface:StatsUpdateConfigurationShould garbage collection stats be collected and reported?- Specified by:
collectGarbageCollectionStatsin interfaceStatsUpdateConfiguration
-
collectLearningRates
public boolean collectLearningRates()
Description copied from interface:StatsUpdateConfigurationShould per-parameter type learning rates be collected and reported?- Specified by:
collectLearningRatesin interfaceStatsUpdateConfiguration
-
collectHistograms
public boolean collectHistograms(StatsType type)
Description copied from interface:StatsUpdateConfigurationShould histograms (per parameter type, or per layer for activations) of the given type be collected?- Specified by:
collectHistogramsin interfaceStatsUpdateConfiguration- Parameters:
type- Stats type: Parameters, Updates, Activations
-
numHistogramBins
public int numHistogramBins(StatsType type)
Description copied from interface:StatsUpdateConfigurationGet the number of histogram bins to use for the given type (for use withStatsUpdateConfiguration.collectHistograms(StatsType)- Specified by:
numHistogramBinsin interfaceStatsUpdateConfiguration- Parameters:
type- Stats type: Parameters, Updates, Activatinos
-
collectMean
public boolean collectMean(StatsType type)
Description copied from interface:StatsUpdateConfigurationShould the mean values (per parameter type, or per layer for activations) be collected?- Specified by:
collectMeanin interfaceStatsUpdateConfiguration- Parameters:
type- Stats type: Parameters, Updates, Activations
-
collectStdev
public boolean collectStdev(StatsType type)
Description copied from interface:StatsUpdateConfigurationShould the standard devication values (per parameter type, or per layer for activations) be collected?- Specified by:
collectStdevin interfaceStatsUpdateConfiguration- Parameters:
type- Stats type: Parameters, Updates, Activations
-
collectMeanMagnitudes
public boolean collectMeanMagnitudes(StatsType type)
Description copied from interface:StatsUpdateConfigurationShould the mean magnitude values (per parameter type, or per layer for activations) be collected?- Specified by:
collectMeanMagnitudesin interfaceStatsUpdateConfiguration- Parameters:
type- Stats type: Parameters, Updates, Activations
-
-