public class ReportTool
extends java.lang.Object
Constructor and Description |
---|
ReportTool() |
Modifier and Type | Method and Description |
---|---|
static void |
addToReport(java.lang.String contents)
Adds external information to the report
|
static void |
printReport()
Prints the output report
|
static void |
setOutputFile(java.lang.String name)
Sets the name of the output file to print the report
|
static void |
setResults(int[] trainReal,
int[] trainPrediction,
int[] testReal,
int[] testPrediction,
int nClas)
Provide information about the classification process to the report tool
|
public static void setResults(int[] trainReal, int[] trainPrediction, int[] testReal, int[] testPrediction, int nClas)
trainReal
- Vector with the real classes of the training datatrainPrediction
- Vector with the predicted classes for the training datatestReal
- Vector with the real classes of the test datatestPrediction
- Vector with the predicted classes for the test datanClas
- Number of classes defined for the datapublic static void printReport()
public static void setOutputFile(java.lang.String name)
name
- Name of the filepublic static void addToReport(java.lang.String contents)
contents
- Information to add