Class PolynomialKernel.Par

  • All Implemented Interfaces:
    Parameterizer
    Enclosing class:
    PolynomialKernel

    public static class PolynomialKernel.Par
    extends java.lang.Object
    implements Parameterizer
    Parameterization class.
    Author:
    Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected double bias
      Bias parameter.
      static OptionID BIAS_ID
      Bias parameter.
      protected int degree
      Degree of the polynomial kernel function.
      static OptionID DEGREE_ID
      Degree parameter.
    • Constructor Summary

      Constructors 
      Constructor Description
      Par()  
    • Field Detail

      • DEGREE_ID

        public static final OptionID DEGREE_ID
        Degree parameter.
      • BIAS_ID

        public static final OptionID BIAS_ID
        Bias parameter.
      • degree

        protected int degree
        Degree of the polynomial kernel function.
      • bias

        protected double bias
        Bias parameter.
    • Constructor Detail

      • Par

        public Par()
    • Method Detail

      • configure

        public void configure​(Parameterization config)
        Description copied from interface: Parameterizer
        Configure the class.

        Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.

        Specified by:
        configure in interface Parameterizer
        Parameters:
        config - Parameterization
      • make

        public PolynomialKernel make()
        Description copied from interface: Parameterizer
        Make an instance after successful configuration.

        Note: your class should return the exact type, only this very broad interface should use Object as return type.

        Specified by:
        make in interface Parameterizer
        Returns:
        a new instance