public class PolynomialFeatures extends java.lang.Object implements FeatureGenerator
| Constructor and Description |
|---|
PolynomialFeatures() |
| Modifier and Type | Method and Description |
|---|---|
weka.core.Instance |
apply(weka.core.Instance data) |
weka.core.Instances |
apply(weka.core.Instances data) |
int |
getPotence() |
boolean |
isPrepared() |
void |
prepare(weka.core.Instances data) |
void |
setPotence(int potence) |
public void prepare(weka.core.Instances data)
throws java.lang.Exception
prepare in interface FeaturePreprocessorjava.lang.Exceptionpublic weka.core.Instance apply(weka.core.Instance data)
throws java.lang.Exception
apply in interface FeaturePreprocessorjava.lang.Exceptionpublic weka.core.Instances apply(weka.core.Instances data)
throws java.lang.Exception
apply in interface FeaturePreprocessorjava.lang.Exceptionpublic boolean isPrepared()
isPrepared in interface FeaturePreprocessorpublic int getPotence()
public void setPotence(int potence)