| Package | Description |
|---|---|
| smile.data |
Data and attribute encapsulation classes.
|
| smile.data.parser |
Parsers for various data formats.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DateAttribute
Data attribute.
|
class |
NominalAttribute
Nominal attribute.
|
class |
NumericAttribute
Numeric attribute.
|
class |
StringAttribute
String attribute.
|
| Modifier and Type | Method and Description |
|---|---|
Attribute[] |
AttributeDataset.attributes()
Returns the list of attributes in this dataset.
|
Attribute |
SparseDataset.response()
Returns the attribute of the response variable.
|
Attribute |
Dataset.response()
Returns the attribute of the response variable.
|
| Constructor and Description |
|---|
AttributeDataset(String name,
Attribute[] attributes)
Constructor.
|
AttributeDataset(String name,
Attribute[] attributes,
Attribute response)
Constructor.
|
AttributeDataset(String name,
Attribute[] attributes,
Attribute response)
Constructor.
|
BinarySparseDataset(String name,
Attribute response)
Constructor.
|
Dataset(Attribute response)
Constructor.
|
Dataset(String name,
Attribute response)
Constructor.
|
SparseDataset(Attribute response)
Constructor.
|
SparseDataset(String name,
Attribute response)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Attribute[] |
ArffParser.getAttributes(File file)
Returns the attribute set of given file.
|
static Attribute[] |
ArffParser.getAttributes(InputStream stream)
Returns the attribute set of given stream.
|
static Attribute[] |
ArffParser.getAttributes(String path)
Returns the attribute set of given file.
|
static Attribute[] |
ArffParser.getAttributes(URI uri)
Returns the attribute set of given URI.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeDataset |
DelimitedTextParser.parse(String name,
Attribute[] attributes,
File file)
Parse a dataset from given file.
|
AttributeDataset |
DelimitedTextParser.parse(String name,
Attribute[] attributes,
String path)
Parse a dataset from given file.
|
AttributeDataset |
DelimitedTextParser.parse(String name,
Attribute[] attributes,
URI uri)
Parse a dataset from given URI.
|
void |
DelimitedTextParser.setResponseIndex(Attribute response,
int index)
Sets the attribute and column index (starting at 0) of dependent/response variable.
|
Copyright © 2015. All rights reserved.