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