Class BaseIEvaluationScoreCalculator<T extends Model,U extends IEvaluation>
- java.lang.Object
-
- org.deeplearning4j.earlystopping.scorecalc.base.BaseIEvaluationScoreCalculator<T,U>
-
- All Implemented Interfaces:
Serializable,ScoreCalculator<T>
- Direct Known Subclasses:
ClassificationScoreCalculator,RegressionScoreCalculator,ROCScoreCalculator
public abstract class BaseIEvaluationScoreCalculator<T extends Model,U extends IEvaluation> extends Object implements ScoreCalculator<T>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected DataSetIteratoriterprotected MultiDataSetIteratoriterator
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseIEvaluationScoreCalculator(DataSetIterator iterator)protectedBaseIEvaluationScoreCalculator(MultiDataSetIterator iterator)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description doublecalculateScore(T network)Calculate the score for the given MultiLayerNetworkprotected abstract doublefinalScore(U eval)protected abstract UnewEval()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.deeplearning4j.earlystopping.scorecalc.ScoreCalculator
minimizeScore
-
-
-
-
Field Detail
-
iterator
protected MultiDataSetIterator iterator
-
iter
protected DataSetIterator iter
-
-
Constructor Detail
-
BaseIEvaluationScoreCalculator
protected BaseIEvaluationScoreCalculator(MultiDataSetIterator iterator)
-
BaseIEvaluationScoreCalculator
protected BaseIEvaluationScoreCalculator(DataSetIterator iterator)
-
-
Method Detail
-
calculateScore
public double calculateScore(T network)
Description copied from interface:ScoreCalculatorCalculate the score for the given MultiLayerNetwork- Specified by:
calculateScorein interfaceScoreCalculator<T extends Model>
-
newEval
protected abstract U newEval()
-
finalScore
protected abstract double finalScore(U eval)
-
-