Package org.nd4j.evaluation
Interface IEvaluation<T extends IEvaluation>
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
BaseEvaluation,CustomEvaluation,Evaluation,EvaluationBinary,EvaluationCalibration,RegressionEvaluation,ROC,ROCBinary,ROCMultiClass
public interface IEvaluation<T extends IEvaluation> extends Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voideval(INDArray labels, INDArray networkPredictions)voideval(INDArray labels, INDArray networkPredictions, List<? extends Serializable> recordMetaData)voideval(INDArray labels, INDArray networkPredictions, INDArray maskArray)voideval(INDArray labels, INDArray networkPredictions, INDArray maskArray, List<? extends Serializable> recordMetaData)voidevalTimeSeries(INDArray labels, INDArray predicted)Deprecated.voidevalTimeSeries(INDArray labels, INDArray predicted, INDArray labelsMaskArray)Deprecated.doublegetValue(IMetric metric)Get the value of a given metric for this evaluation.voidmerge(T other)TnewInstance()Get a new instance of this evaluation, with the same configuration but no data.voidreset()Stringstats()StringtoJson()StringtoYaml()
-
-
-
Method Detail
-
eval
void eval(INDArray labels, INDArray networkPredictions)
- Parameters:
labels-networkPredictions-
-
eval
void eval(INDArray labels, INDArray networkPredictions, List<? extends Serializable> recordMetaData)
- Parameters:
labels-networkPredictions-recordMetaData-
-
eval
void eval(INDArray labels, INDArray networkPredictions, INDArray maskArray, List<? extends Serializable> recordMetaData)
-
eval
void eval(INDArray labels, INDArray networkPredictions, INDArray maskArray)
- Parameters:
labels-networkPredictions-maskArray-
-
evalTimeSeries
@Deprecated void evalTimeSeries(INDArray labels, INDArray predicted)
Deprecated.
-
evalTimeSeries
@Deprecated void evalTimeSeries(INDArray labels, INDArray predicted, INDArray labelsMaskArray)
Deprecated.
-
merge
void merge(T other)
- Parameters:
other-
-
reset
void reset()
-
stats
String stats()
- Returns:
-
toJson
String toJson()
- Returns:
-
toYaml
String toYaml()
- Returns:
-
getValue
double getValue(IMetric metric)
Get the value of a given metric for this evaluation.
-
newInstance
T newInstance()
Get a new instance of this evaluation, with the same configuration but no data.
-
-