aima.learning.framework
Class DataSetFactory
java.lang.Object
aima.learning.framework.DataSetFactory
public class DataSetFactory
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSetFactory
public DataSetFactory()
fromFile
public DataSet fromFile(java.lang.String filename,
DataSetSpecification spec,
java.lang.String separator)
throws java.lang.Exception
- Throws:
java.lang.Exception
exampleFromString
public static Example exampleFromString(java.lang.String data,
DataSetSpecification dataSetSpec,
java.lang.String separator)
getRestaurantDataSet
public static DataSet getRestaurantDataSet()
throws java.lang.Exception
- Throws:
java.lang.Exception
createRestaurantDataSetSpec
public static DataSetSpecification createRestaurantDataSetSpec()
getIrisDataSet
public static DataSet getIrisDataSet()
throws java.lang.Exception
- Throws:
java.lang.Exception
createIrisDataSetSpec
public static DataSetSpecification createIrisDataSetSpec()