Method | Description | |
---|---|---|
Analyze ( |
Analyze the file.
|
|
ExtractFields ( |
Extract fields from a file into a numeric array for machine learning.
|
|
Normalize ( |
Normalize the input file. Write to the specified file.
|
|
SetSourceFile ( |
Set the source file. This is useful if you want to use pre-existing stats to normalize something and skip the analyze step.
|
Method | Description | |
---|---|---|
WriteHeaders ( |
Write the headers.
|
public Analyze ( |
||
inputFilename | The input file. | |
expectInputHeaders | bool | True, if input headers are present. |
inputFormat | The format. | |
theAnalyst | The analyst to use. | |
return | void |
public static ExtractFields ( |
||
analyst | The analyst to use. | |
headers | The headers for the input data. | |
csv | The CSV that holds the input data. | |
outputLength | int | The length of the returned array. |
skipOutput | bool | True if the output should be skipped. |
return | double[] |
public Normalize ( |
||
file | The file to write to. | |
return | void |
public SetSourceFile ( |
||
file | The file to use. | |
headers | bool | True, if headers are to be expected. |
format | The format of the CSV file. | |
return | void |