Class FeatureGeneratorTree
- java.lang.Object
-
- ai.libs.jaicore.ml.weka.classification.pipeline.featuregen.FeatureGeneratorTree
-
- All Implemented Interfaces:
FeatureGenerator,FeaturePreprocessor,java.io.Serializable
public class FeatureGeneratorTree extends java.lang.Object implements FeatureGenerator
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FeatureGeneratorTree(FeatureGenerator root)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChild(FeatureGenerator child)weka.core.Instanceapply(weka.core.Instance data)weka.core.Instancesapply(weka.core.Instances data)FeatureGeneratorgetRoot()booleanisPrepared()voidprepare(weka.core.Instances data)voidremoveChild(FeatureGeneratorTree child)
-
-
-
Constructor Detail
-
FeatureGeneratorTree
public FeatureGeneratorTree(FeatureGenerator root)
-
-
Method Detail
-
addChild
public void addChild(FeatureGenerator child)
-
removeChild
public void removeChild(FeatureGeneratorTree child)
-
getRoot
public FeatureGenerator getRoot()
-
prepare
public void prepare(weka.core.Instances data) throws PreprocessingException- Specified by:
preparein interfaceFeaturePreprocessor- Throws:
PreprocessingException
-
apply
public weka.core.Instance apply(weka.core.Instance data) throws PreprocessingException- Specified by:
applyin interfaceFeaturePreprocessor- Throws:
PreprocessingException
-
apply
public weka.core.Instances apply(weka.core.Instances data) throws PreprocessingException- Specified by:
applyin interfaceFeaturePreprocessor- Throws:
PreprocessingException
-
isPrepared
public boolean isPrepared()
- Specified by:
isPreparedin interfaceFeaturePreprocessor
-
-