sequence
Class HammingLoss
java.lang.Object
sequence.HammingLoss
- All Implemented Interfaces:
- Loss
public class HammingLoss
- extends Object
- implements Loss
This class implements Hamming Loss function
- Author:
- Kuzman Ganchev and Georgi Georgiev kuzman.ganchev@ontotext.com
Date: Thu Feb 26 12:27:56 EET 2009
Method Summary |
double |
calculate(int[] truth,
int[] guess)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HammingLoss
public HammingLoss()
calculate
public double calculate(int[] truth,
int[] guess)
- Specified by:
calculate
in interface Loss
Copyright © 2009. All Rights Reserved.