Class PolynomialFeatures
- java.lang.Object
-
- ai.libs.jaicore.ml.weka.classification.pipeline.featuregen.PolynomialFeatures
-
- All Implemented Interfaces:
FeatureGenerator,FeaturePreprocessor,java.io.Serializable
public class PolynomialFeatures extends java.lang.Object implements FeatureGenerator
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PolynomialFeatures()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description weka.core.Instanceapply(weka.core.Instance data)weka.core.Instancesapply(weka.core.Instances data)intgetPotence()booleanisPrepared()voidprepare(weka.core.Instances data)voidsetPotence(int potence)
-
-
-
Method Detail
-
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
-
getPotence
public int getPotence()
-
setPotence
public void setPotence(int potence)
-
-