org.encog.util.normalize.target
Class NormalizationStorageCSV
- java.lang.Object
-
- org.encog.util.normalize.target.NormalizationStorageCSV
-
- All Implemented Interfaces:
- java.io.Serializable, NormalizationStorage
public class NormalizationStorageCSV extends java.lang.Object implements NormalizationStorage
Store normalized data to a CSV file.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description NormalizationStorageCSV()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
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidclose()Close the CSV file.voidopen(DataNormalization norm)Open the CSV file.voidwrite(double[] data, int inputCount)Write an array.
-
-
-
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()
-
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:
closein interfaceNormalizationStorage
-
open
public void open(DataNormalization norm)
Open the CSV file.- Specified by:
openin interfaceNormalizationStorage- Parameters:
norm- The data normalization.
-
write
public void write(double[] data, int inputCount)Write an array.- Specified by:
writein interfaceNormalizationStorage- Parameters:
data- The data to write.inputCount- How much of the data is input.
-
-
DMelt 3.0 © DataMelt by jWork.ORG