Class PerformanceListener.Builder
- java.lang.Object
-
- org.deeplearning4j.optimize.listeners.PerformanceListener.Builder
-
- Enclosing class:
- PerformanceListener
public static class PerformanceListener.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PerformanceListener
build()
This method returns configured PerformanceListener instancePerformanceListener.Builder
reportBatch(boolean reportBatch)
This method defines, if batches/sec should be reported together with other dataPerformanceListener.Builder
reportETL(boolean reportEtl)
This method defines, if ETL time per iteration should be reported together with other dataPerformanceListener.Builder
reportIteration(boolean reportIteration)
This method defines, if iteration number should be reported together with other dataPerformanceListener.Builder
reportSample(boolean reportSample)
This method defines, if samples/sec should be reported together with other dataPerformanceListener.Builder
reportScore(boolean reportScore)
This method defines, if score should be reported together with other dataPerformanceListener.Builder
reportTime(boolean reportTime)
This method defines, if time per iteration should be reported together with other dataPerformanceListener.Builder
setFrequency(int frequency)
Desired TrainingListener activation frequency
-
-
-
Method Detail
-
reportIteration
public PerformanceListener.Builder reportIteration(boolean reportIteration)
This method defines, if iteration number should be reported together with other data- Parameters:
reportIteration
-- Returns:
-
reportTime
public PerformanceListener.Builder reportTime(boolean reportTime)
This method defines, if time per iteration should be reported together with other data- Parameters:
reportTime
-- Returns:
-
reportETL
public PerformanceListener.Builder reportETL(boolean reportEtl)
This method defines, if ETL time per iteration should be reported together with other data- Parameters:
reportEtl
-- Returns:
-
reportSample
public PerformanceListener.Builder reportSample(boolean reportSample)
This method defines, if samples/sec should be reported together with other data- Parameters:
reportSample
-- Returns:
-
reportBatch
public PerformanceListener.Builder reportBatch(boolean reportBatch)
This method defines, if batches/sec should be reported together with other data- Parameters:
reportBatch
-- Returns:
-
reportScore
public PerformanceListener.Builder reportScore(boolean reportScore)
This method defines, if score should be reported together with other data- Parameters:
reportScore
-- Returns:
-
setFrequency
public PerformanceListener.Builder setFrequency(int frequency)
Desired TrainingListener activation frequency- Parameters:
frequency
-- Returns:
-
build
public PerformanceListener build()
This method returns configured PerformanceListener instance- Returns:
-
-