List of usage examples for org.apache.mahout.classifier.df.data DataLoader generateDataset
public static Dataset generateDataset(CharSequence descriptor, boolean regression, FileSystem fs, Path path) throws DescriptorException, IOException
From source file:imageClassify.Describe.java
License:Apache License
private static Dataset generateDataset(String descriptor, String dataPath, boolean regression) throws IOException, DescriptorException { Path path = new Path(dataPath); FileSystem fs = path.getFileSystem(new Configuration()); return DataLoader.generateDataset(descriptor, regression, fs, path); }