@Override public Instances defineDataFormat() throws Exception {
  ArrayList<Attribute> atts;
  atts=new ArrayList<Attribute>();
  atts.add(new Attribute("x"));
  m_RawData=new Instances(getRelationNameToUse(),atts,0);
  m_Filter=new AddExpression();
  m_Filter.setName("y");
  m_Filter.setExpression(getExpression());
  m_Filter.setInputFormat(m_RawData);
  return super.defineDataFormat();
}

@ Override public Instances defineDataFormat ( ) throws Exception { ArrayList < Attribute > atts ; atts = new ArrayList < Attribute > ( ) ; atts . add ( new Attribute ( "x" ) ) ; m_RawData = new Instances ( getRelationNameToUse ( ) , atts , 0 ) ; m_Filter = new AddExpression ( ) ; m_Filter . setName ( "y" ) ; m_Filter . setExpression ( getExpression ( ) ) ; m_Filter . setInputFormat ( m_RawData ) ; return super . defineDataFormat ( ) ; }
initializes the format for the dataset produced . must be called before the generateexample or generateexamples methods are used . re - initializes the random number generator with the given seed .
