DataSetLossCalculator
instead for both MultiLayerNetwork and ComputationGraph@Deprecated public class DataSetLossCalculatorCG extends Object implements ScoreCalculator<ComputationGraph>
Constructor and Description |
---|
DataSetLossCalculatorCG(DataSetIterator dataSetIterator,
boolean average)
Deprecated.
Calculate the score (loss function value) on a given data set (usually a test set)
|
DataSetLossCalculatorCG(MultiDataSetIterator dataSetIterator,
boolean average)
Deprecated.
Calculate the score (loss function value) on a given data set (usually a test set)
|
Modifier and Type | Method and Description |
---|---|
double |
calculateScore(ComputationGraph network)
Deprecated.
Calculate the score for the given MultiLayerNetwork
|
boolean |
minimizeScore()
Deprecated.
|
String |
toString()
Deprecated.
|
public DataSetLossCalculatorCG(DataSetIterator dataSetIterator, boolean average)
dataSetIterator
- Data set to calculate the score foraverage
- Whether to return the average (sum of loss / N) or just (sum of loss)public DataSetLossCalculatorCG(MultiDataSetIterator dataSetIterator, boolean average)
dataSetIterator
- Data set to calculate the score foraverage
- Whether to return the average (sum of loss / N) or just (sum of loss)public double calculateScore(ComputationGraph network)
ScoreCalculator
calculateScore
in interface ScoreCalculator<ComputationGraph>
public boolean minimizeScore()
minimizeScore
in interface ScoreCalculator<ComputationGraph>
Copyright © 2020. All rights reserved.