org.encog.app.analyst.util
public class AnalystUtility extends Object
Constructor and Description |
---|
AnalystUtility(EncogAnalyst theAnalyst)
Construct the analyst utility.
|
Modifier and Type | Method and Description |
---|---|
void |
analyze(File theFilename) |
void |
decode(boolean includeInput,
boolean includeOutput,
double[] rawData,
MLData encodedData)
Decode fields, using the analyst.
|
void |
encode(boolean includeInput,
boolean includeOutput,
double[] rawData,
MLData encodedData)
Encode fields, using the analyst.
|
MLDataSet |
loadCSV(File file)
Load a CSV file into an MLDataSet.
|
MLDataSet |
loadCSV(String filename)
Load a CSV file into an MLDataSet.
|
public AnalystUtility(EncogAnalyst theAnalyst)
theAnalyst
- The analyst that we are using.public void encode(boolean includeInput, boolean includeOutput, double[] rawData, MLData encodedData)
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.public MLDataSet loadCSV(File file)
file
- The file to load.public MLDataSet loadCSV(String filename)
file
- The file to load.public void decode(boolean includeInput, boolean includeOutput, double[] rawData, MLData encodedData)
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.public void analyze(File theFilename)
Copyright © 2014. All Rights Reserved.