org.encog.app.analyst.util
Class AnalystUtility
- java.lang.Object
-
- org.encog.app.analyst.util.AnalystUtility
-
public class AnalystUtility extends java.lang.ObjectProvides an interface to the analyst usually used by other programs.
-
-
Constructor Summary
Constructors Constructor and Description AnalystUtility(EncogAnalyst theAnalyst)Construct the analyst utility.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidanalyze(java.io.File theFilename)voiddecode(boolean includeInput, boolean includeOutput, double[] rawData, MLData encodedData)Decode fields, using the analyst.voidencode(boolean includeInput, boolean includeOutput, double[] rawData, MLData encodedData)Encode fields, using the analyst.MLDataSetloadCSV(java.io.File file)Load a CSV file into an MLDataSet.MLDataSetloadCSV(java.lang.String filename)Load a CSV file into an MLDataSet.
-
-
-
Constructor Detail
-
AnalystUtility
public AnalystUtility(EncogAnalyst theAnalyst)
Construct the analyst utility.- Parameters:
theAnalyst- The analyst that we are using.
-
-
Method Detail
-
encode
public void encode(boolean includeInput, boolean includeOutput, double[] rawData, MLData encodedData)Encode fields, using the analyst.- Parameters:
includeInput- Should we include the input fields.includeOutput- Should we include the output fields.rawData- The raw data to encode from.encodedData- The data to encode to.
-
loadCSV
public MLDataSet loadCSV(java.io.File file)
Load a CSV file into an MLDataSet.- Parameters:
file- The file to load.- Returns:
- The loaded data set.
-
loadCSV
public MLDataSet loadCSV(java.lang.String filename)
Load a CSV file into an MLDataSet.- Parameters:
filename- The name of file to load.- Returns:
- The loaded data set.
-
decode
public void decode(boolean includeInput, boolean includeOutput, double[] rawData, MLData encodedData)Decode fields, using the analyst.- Parameters:
includeInput- Should we include the input fields.includeOutput- Should we include the output fields.rawData- The raw data to encode to.encodedData- The data to encode from.
-
analyze
public void analyze(java.io.File theFilename)
-
-
DMelt 3.0 © DataMelt by jWork.ORG