@ Override public void setDataset ( Instances dataset ) { if ( dataset instanceof InstancesHeader ) { this . instanceHeader = ( InstancesHeader ) dataset ; } else { this . instanceHeader = new InstancesHeader ( dataset ) ; } }
Sets the dataset .