public class ScoreFunctions
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static ScoreFunction |
testSetAccuracy()
Calculate the accuracy on a test set, for a MultiLayerNetwork
|
static ScoreFunction |
testSetF1()
Calculate the f1 score on a test set
|
static ScoreFunction |
testSetLoss(boolean average)
Calculate the loss (score/loss function value) on a test set, for a MultiLayerNetwork
|
static ScoreFunction |
testSetRegression(RegressionValue regressionValue)
Calculate a regression value (MSE, MAE etc) on a test set
|
public static ScoreFunction testSetLoss(boolean average)
average
- Average (divide by number of examples)public static ScoreFunction testSetAccuracy()
public static ScoreFunction testSetF1()
public static ScoreFunction testSetRegression(RegressionValue regressionValue)