Method | Description | |
---|---|---|
Analyze ( |
Analyze the data. This counts the records and prepares the data to be processed.
|
|
DumpCounts ( ) : String |
Return a string that lists the counts per class.
|
|
Process ( |
Process and balance the data.
|
public Analyze ( |
||
inputFile | The input file to process. | |
headers | bool | True, if headers are present. |
format | The format of the CSV file. | |
return | void |
public Process ( |
||
outputFile | The output file to write data to. | |
targetField | int | |
countPer | int | The desired count per class. |
return | void |