The Encog Project

org.encog.normalize.target
Class NormalizationStorageCSV

java.lang.Object
  extended by org.encog.normalize.target.NormalizationStorageCSV
All Implemented Interfaces:
NormalizationStorage

public class NormalizationStorageCSV
extends java.lang.Object
implements NormalizationStorage

Store normalized data to a CSV file.


Constructor Summary
NormalizationStorageCSV(CSVFormat format, java.io.File file)
          Construct a CSV storage object from the specified file.
NormalizationStorageCSV(java.io.File file)
          Construct a CSV storage object from the specified file.
 
Method Summary
 void close()
          Close the CSV file.
 void open()
          Open the CSV file.
 void write(double[] data, int inputCount)
          Write an array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NormalizationStorageCSV

public NormalizationStorageCSV(CSVFormat format,
                               java.io.File file)
Construct a CSV storage object from the specified file.

Parameters:
format - The format to use.
file - The file to write the CSV to.

NormalizationStorageCSV

public NormalizationStorageCSV(java.io.File file)
Construct a CSV storage object from the specified file.

Parameters:
file - The file to write the CSV to.
Method Detail

close

public void close()
Close the CSV file.

Specified by:
close in interface NormalizationStorage

open

public void open()
Open the CSV file.

Specified by:
open in interface NormalizationStorage

write

public void write(double[] data,
                  int inputCount)
Write an array.

Specified by:
write in interface NormalizationStorage
Parameters:
data - The data to write.
inputCount - How much of the data is input.

The Encog Project