sequence
Class HammingLoss

java.lang.Object
  extended by 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

Constructor Summary
HammingLoss()
           
 
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
 

Constructor Detail

HammingLoss

public HammingLoss()
Method Detail

calculate

public double calculate(int[] truth,
                        int[] guess)
Specified by:
calculate in interface Loss


Copyright © 2009. All Rights Reserved.