Documentation of 'org.encog.app.analyst.csv.shuffle.ShuffleCSV' Java class
ShuffleCSV
org.encog.app.analyst.csv.shuffle

Class ShuffleCSV

  • All Implemented Interfaces:
    QuantTask


    public class ShuffleCSV
    extends BasicFile
    Randomly shuffle the lines of a CSV file.
    • Field Detail

      • DEFAULT_BUFFER_SIZE

        public static final int DEFAULT_BUFFER_SIZE
        The default buffer size.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ShuffleCSV

        public ShuffleCSV()
        Construct the object.
    • Method Detail

      • analyze

        public void analyze(java.io.File inputFile,
                            boolean headers,
                            CSVFormat format)
        Analyze the neural network.
        Parameters:
        inputFile - The input file.
        headers - True, if there are headers.
        format - The format of the CSV file.
      • getBufferSize

        public int getBufferSize()
        Returns:
        The buffer size. This is how many rows of data are loaded(and randomized), at a time. The default is 5,000.
      • process

        public void process(java.io.File outputFile)
        Process, and generate the output file.
        Parameters:
        outputFile - The output file.
      • setBufferSize

        public void setBufferSize(int s)
        Set the buffer size.
        Parameters:
        s - The new buffer size.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.