public class SumLossEvaluator extends BilinearEvaluator
learner
Constructor and Description |
---|
SumLossEvaluator() |
Modifier and Type | Method and Description |
---|---|
double |
evaluate(List<Pair<gov.sandia.cognition.math.matrix.Matrix>> data) |
double |
sumLoss(List<Pair<gov.sandia.cognition.math.matrix.Matrix>> pairs,
gov.sandia.cognition.math.matrix.Matrix u,
gov.sandia.cognition.math.matrix.Matrix w,
gov.sandia.cognition.math.matrix.Matrix bias,
BilinearLearnerParameters params) |
setLearner
public SumLossEvaluator()
public double evaluate(List<Pair<gov.sandia.cognition.math.matrix.Matrix>> data)
evaluate
in class BilinearEvaluator
public double sumLoss(List<Pair<gov.sandia.cognition.math.matrix.Matrix>> pairs, gov.sandia.cognition.math.matrix.Matrix u, gov.sandia.cognition.math.matrix.Matrix w, gov.sandia.cognition.math.matrix.Matrix bias, BilinearLearnerParameters params)