private Instances makeHeader(){
  ArrayList<Attribute> fv=new ArrayList<Attribute>();
  fv.add(new Attribute("Margin"));
  fv.add(new Attribute("Current"));
  fv.add(new Attribute("Cumulative"));
  return new Instances("MarginCurve",fv,100);
}

private Instances makeHeader ( ) { ArrayList < Attribute > fv = new ArrayList < Attribute > ( ) ; fv . add ( new Attribute ( "Margin" ) ) ; fv . add ( new Attribute ( "Current" ) ) ; fv . add ( new Attribute ( "Cumulative" ) ) ; return new Instances ( "MarginCurve" , fv , 100 ) ; }
creates an instances object with the attributes we will be calculating .
