| Package | Description |
|---|---|
| org.apache.mahout.classifier.df.data | |
| org.apache.mahout.classifier.df.tools |
| Modifier and Type | Method and Description |
|---|---|
static Dataset |
DataLoader.generateDataset(CharSequence descriptor,
boolean regression,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path)
Generates the Dataset by parsing the entire data
|
static Dataset |
DataLoader.generateDataset(CharSequence descriptor,
boolean regression,
String[] data)
Generates the Dataset by parsing the entire data
|
static String |
DescriptorUtils.generateDescriptor(CharSequence description)
Generates a valid descriptor string from a user-friendly representation.
for example "3 N I N N 2 C L 5 I" generates "N N N I N N C C L I I I I I". this useful when describing datasets with a large number of attributes |
static String |
DescriptorUtils.generateDescriptor(Iterable<String> tokens)
Generates a valid descriptor string from a list of tokens
|
static Dataset.Attribute[] |
DescriptorUtils.parseDescriptor(CharSequence descriptor)
Parses a descriptor string and generates the corresponding array of Attributes
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Describe.main(String[] args) |
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.