View Javadoc

1   package classification;
2   
3   /****
4    * This class defines the contract we hava for loss function
5    * 
6    * @author Kuzman Ganchev and Georgi Georgiev <A
7    *         HREF="mailto:georgiev@ontotext.com>georgi.georgiev@ontotext.com</A>
8    *         <A HREF="mailto:ganchev@ontotext.com>kuzman.ganchev@ontotext.com</A>
9    *         Date: Thu Feb 26 12:27:56 EET 2009
10   */
11  
12  public interface Loss {
13  
14  	public double calculate(int truth, int guess);
15  
16  }