public class DateFeature extends Object implements Feature<double[]>
| Modifier and Type | Class and Description |
|---|---|
static class |
DateFeature.Type
The types of date/time features.
|
| Constructor and Description |
|---|
DateFeature(Attribute[] attributes,
DateFeature.Type[] types)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Attribute[] |
attributes()
Returns the variable attributes of generated features.
|
double |
f(double[] object,
int id)
Generates a feature for given object.
|
public DateFeature(Attribute[] attributes, DateFeature.Type[] types)
attributes - the variable attributes.types - the types of features to be generated.public Attribute[] attributes()
Featureattributes in interface Feature<double[]>Copyright © 2015. All rights reserved.