001    /*
002     * Created on Aug 6, 2005
003     *
004     */
005    package aima.learning.neural;
006    
007    import java.util.List;
008    
009    import aima.learning.framework.Example;
010    import aima.util.Pair;
011    
012    /**
013     * @author Ravi Mohan
014     * 
015     */
016    
017    public interface Numerizer {
018            // A Numerizer understands how to convert an example from a particular
019            // dataset
020            // into a Pair of lists of doubles .The first represents the input to the
021            // neural network and the second represents the desired output
022            // See IrisDataSetNumerizer for a concrete example
023            Pair<List<Double>, List<Double>> numerize(Example e);
024    
025            String denumerize(List<Double> outputValue);
026    
027    }