Documentation of 'org.joone.util.ToBinaryPlugin' Java class
ToBinaryPlugin
org.joone.util

Class ToBinaryPlugin

  • All Implemented Interfaces:
    java.io.Serializable, PlugInListener


    public class ToBinaryPlugin
    extends ConverterPlugIn
    This plug-in converts 10-base data to binary format. The plug-in ingnores the broken part (the part after the . ) for non-integer numbers. It works correct for positive as well as for negative numbers.
    See Also:
    Serialized Form
    • Constructor Detail

      • ToBinaryPlugin

        public ToBinaryPlugin()
        Creates a new instance of ToBinaryPlugin
      • ToBinaryPlugin

        public ToBinaryPlugin(java.lang.String anAdvancedSerieSelector)
        Creates a new instance of ToBinaryPlugin
        Parameters:
        anAdvancedSerieSelector - the advanced serie selector to use.
        See Also:
        setAdvancedSerieSelector()
    • Method Detail

      • setUpperBit

        public void setUpperBit(double aValue)
        Sets the value for the upper bit. In binary problems it is often better to use 0.3 and 0.7 or -0.7 and 0.7 as target instead of 0 and 1 or -1 and 1, because the asymptotes (0 and 1) tend to take a long time to train, worsen generalization and drive the weights to very large values. By using this function you can set a different value for the upper bit.
        Parameters:
        aValue - the value to use for the upper bit.
      • getUpperBit

        public double getUpperBit()
        Gets the value used for the upper bit.
      • setLowerBit

        public void setLowerBit(double aValue)
        Sets the value for the lower bit.
        Parameters:
        aValue - the value to use for the lower bit.
      • getLowerBit

        public double getLowerBit()
        Gets the value used for the lower bit.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.