001    /**
002     * 
003     */
004    package org.wdssii.decisiontree;
005    
006    /**
007     * 
008     * Performance measure of a classifier
009     * 
010     * @author lakshman
011     * 
012     */
013    public interface FitnessFunction {
014    
015            public static class Split {
016                    public float score;
017    
018                    public float thresh;
019            }
020    
021            Split computeSplitAndGain(float[][] inputData, int[] targetClass,
022                            int numCategories, int[] toConsider, int attribute);
023    
024    }