public interface FeatureExtractor
| Modifier and Type | Method and Description |
|---|---|
weka.core.Instances |
createEmptyDataset()
Creates an empty data set containing the header appropriate to this extractor.
|
weka.core.Instance |
getAreaFeatures(org.fit.layout.model.Area area,
weka.core.Instances dataset)
Creates a classification data instance from the given area.
|
org.fit.layout.model.Area |
getTreeRoot()
Obtains the current tree root.
|
void |
setTree(org.fit.layout.model.Area rootNode)
Initializes the extractor to use the tree with the given root node.
|
void setTree(org.fit.layout.model.Area rootNode)
rootNode - the new area tree root nodeorg.fit.layout.model.Area getTreeRoot()
null when the tree was not set before.weka.core.Instance getAreaFeatures(org.fit.layout.model.Area area,
weka.core.Instances dataset)
area - the area whose features should be computeddataset - the data set the created instance should belong toweka.core.Instances createEmptyDataset()
Copyright © 2016. All rights reserved.