public interface Sourcable
String toSource(String className, Instances data) throws Exception
// converts one row
public static Object[] filter(Object[] i);
// converts a full dataset (first dimension is row index)
public static Object[][] filter(Object[][] i);
where the array i contains elements that are either
Double, String, with missing values represented as null. The generated
code is public domain and comes with no warranty.className - the name that should be given to the source class.data - the dataset used for initializing the filterException - if the source can't be computedCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.