Documentation of 'org.encog.util.normalize.input.InputFieldCSVText' Java class
InputFieldCSVText
org.encog.util.normalize.input

Class InputFieldCSVText

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


    public class InputFieldCSVText
    extends InputFieldCSV
    An input field based on a CSV file. This is a text field that is mapped to an integer value. The first text value is mapped to 0, the second to 1, and so on.
    See Also:
    Serialized Form
    • Constructor Detail

      • InputFieldCSVText

        public InputFieldCSVText()
        Construct an InputFieldCSVText with the default constructor. This is mainly used for reflection.
      • InputFieldCSVText

        public InputFieldCSVText(boolean usedForNetworkInput,
                                 java.io.File file,
                                 int offset)
        Construct a input field for a CSV file.
        Parameters:
        usedForNetworkInput - True if this field is used for actual input to the neural network, as opposed to segregation only.
        file - The tile to read.
        offset - The CSV file column to read.
    • Method Detail

      • addMapping

        public int addMapping(java.lang.String name)
        Add a string mapping.
        Parameters:
        name - The name of the mapping.
        Returns:
        The index the mapping was assigned to.
      • getMappings

        public java.util.Map<java.lang.String,java.lang.Integer> getMappings()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.