org.encog.ml.data.buffer
Class BinaryDataLoader
- java.lang.Object
-
- org.encog.ml.data.buffer.BinaryDataLoader
-
public class BinaryDataLoader extends java.lang.ObjectThis class is used, together with a CODEC, to move data to/from the Encog binary training file format. The same Encog binary files can be used on all Encog platforms. CODEC's are used to import/export with other formats, such as CSV.
-
-
Constructor Summary
Constructors Constructor and Description BinaryDataLoader(DataSetCODEC theCodec)Construct a loader with the specified CODEC.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidbinary2External(java.io.File binaryFile)Convert an Encog binary file to an external form, such as CSV.voidexternal2Binary(java.io.File binaryFile)Convert an external file format, such as CSV, to the Encog binary training format.DataSetCODECgetCodec()StatusReportablegetStatus()voidsetStatus(StatusReportable theStatus)Set the object that status is reported to.
-
-
-
Constructor Detail
-
BinaryDataLoader
public BinaryDataLoader(DataSetCODEC theCodec)
Construct a loader with the specified CODEC.- Parameters:
theCodec- The codec to use.
-
-
Method Detail
-
external2Binary
public void external2Binary(java.io.File binaryFile)
Convert an external file format, such as CSV, to the Encog binary training format.- Parameters:
binaryFile- The binary file to create.
-
binary2External
public void binary2External(java.io.File binaryFile)
Convert an Encog binary file to an external form, such as CSV.- Parameters:
binaryFile- THe binary file to use.
-
getStatus
public StatusReportable getStatus()
- Returns:
- The object that status is reported to.
-
setStatus
public void setStatus(StatusReportable theStatus)
Set the object that status is reported to.- Parameters:
theStatus- The object to report status to.
-
getCodec
public DataSetCODEC getCodec()
- Returns:
- The CODEC that is being used.
-
-
DMelt 3.0 © DataMelt by jWork.ORG