@Override public Instances defineDataFormat() throws Exception {
  ArrayList<Attribute> atts;
  m_Random=new Random(getSeed());
  m_NoiseRandom=new Random(getSeed());
  setNumExamplesAct(getNumExamples());
  atts=new ArrayList<Attribute>();
  atts.add(new Attribute("x"));
  atts.add(new Attribute("y"));
  m_DatasetFormat=new Instances(getRelationNameToUse(),atts,0);
  return m_DatasetFormat;
}

@ Override public Instances defineDataFormat ( ) throws Exception { ArrayList < Attribute > atts ; m_Random = new Random ( getSeed ( ) ) ; m_NoiseRandom = new Random ( getSeed ( ) ) ; setNumExamplesAct ( getNumExamples ( ) ) ; atts = new ArrayList < Attribute > ( ) ; atts . add ( new Attribute ( "x" ) ) ; atts . add ( new Attribute ( "y" ) ) ; m_DatasetFormat = new Instances ( getRelationNameToUse ( ) , atts , 0 ) ; return m_DatasetFormat ; }
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 .
