public class CustomEvaluation<T> extends BaseEvaluation<CustomEvaluation>
Modifier and Type | Class and Description |
---|---|
static class |
CustomEvaluation.Metric<T>
The metric used to get a score for the CustomEvaluation.
|
Constructor and Description |
---|
CustomEvaluation() |
Modifier and Type | Method and Description |
---|---|
void |
eval(INDArray labels,
INDArray networkPredictions,
INDArray maskArray,
List<? extends Serializable> recordMetaData) |
double |
getValue(IMetric metric)
Get the value of a given metric for this evaluation.
|
void |
merge(CustomEvaluation other) |
static <R> MergeLambda<R> |
mergeConcatenate()
A MergeLambda that merges by concatenating the two lists
|
CustomEvaluation<T> |
newInstance()
Get a new instance of this evaluation, with the same configuration but no data.
|
void |
reset() |
String |
stats() |
attempFromLegacyFromJson, eval, eval, eval, evalTimeSeries, evalTimeSeries, fromJson, fromYaml, reshapeAndExtractNotMasked, toJson, toString, toYaml
public static <R> MergeLambda<R> mergeConcatenate()
public void eval(INDArray labels, INDArray networkPredictions, INDArray maskArray, List<? extends Serializable> recordMetaData)
public void merge(CustomEvaluation other)
public void reset()
public String stats()
public double getValue(IMetric metric)
IEvaluation
public CustomEvaluation<T> newInstance()
IEvaluation
Copyright © 2020. All rights reserved.