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 DataSetIterator
iter
protected MultiDataSetIterator
iterator
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseIEvaluationScoreCalculator(DataSetIterator iterator)
protected
BaseIEvaluationScoreCalculator(MultiDataSetIterator iterator)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description double
calculateScore(T network)
Calculate the score for the given MultiLayerNetworkprotected abstract double
finalScore(U eval)
protected abstract U
newEval()
-
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:ScoreCalculator
Calculate the score for the given MultiLayerNetwork- Specified by:
calculateScore
in interfaceScoreCalculator<T extends Model>
-
newEval
protected abstract U newEval()
-
finalScore
protected abstract double finalScore(U eval)
-
-