Class PolynomialFeatures

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
net.razorvine.pickle.objects.ClassDict
org.jpmml.python.PythonObject
sklearn.Step
sklearn.Transformer
sklearn.preprocessing.PolynomialFeatures
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>, HasNumberOfFeatures, HasType

public class PolynomialFeatures extends Transformer
See Also:
  • Constructor Details

    • PolynomialFeatures

      public PolynomialFeatures(String module, String name)
  • Method Details

    • getNumberOfFeatures

      public int getNumberOfFeatures()
      Specified by:
      getNumberOfFeatures in interface HasNumberOfFeatures
      Overrides:
      getNumberOfFeatures in class Transformer
    • encodeFeatures

      public List<org.jpmml.converter.Feature> encodeFeatures(List<org.jpmml.converter.Feature> features, SkLearnEncoder encoder)
      Specified by:
      encodeFeatures in class Transformer
    • getDegree

      public int getDegree()
    • getIncludeBias

      public Boolean getIncludeBias()
    • getInteractionOnly

      public Boolean getInteractionOnly()
    • getNumberOfInputFeatures

      public int getNumberOfInputFeatures()
    • getNumberOfOutputFeatures

      public int getNumberOfOutputFeatures()