001 package aima.learning.neural; 002 003 import java.util.ArrayList; 004 005 public class RabbitEyeDataSet extends NNDataSet { 006 007 @Override 008 public void setTargetColumns() { 009 // assumed that data from file has been pre processed 010 // TODO this should be 011 // somewhere else,in the 012 // super class. 013 // Type != class Aargh! I want more 014 // powerful type systems 015 targetColumnNumbers = new ArrayList<Integer>(); 016 017 targetColumnNumbers.add(1); // using zero based indexing 018 019 } 020 021 }