public class LogisticErrorFunction extends java.lang.Object implements IErrorFunction<double[][]>
Logistic Error Function.
Constructor and Description |
---|
LogisticErrorFunction()
Empty constructor
|
Modifier and Type | Method and Description |
---|---|
double |
calculateError(double[][] obtained,
double[][] expected)
Returns the logistic error of a matrix of obtained values for
classification, compared with a matrix of expected values
|
public double calculateError(double[][] obtained, double[][] expected)
Returns the logistic error of a matrix of obtained values for classification, compared with a matrix of expected values
calculateError
in interface IErrorFunction<double[][]>
obtained
- Double matrix of obtained valuesexpected
- Double matrix of expected values