@Deprecated public class FoxEvaluationHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CFG_KEY_CROSSVALIDATION_RUNS
Deprecated.
|
protected int |
col_classifier
Deprecated.
|
protected int |
col_classs
Deprecated.
|
protected int |
col_run
Deprecated.
|
protected List<String> |
files
Deprecated.
|
protected int |
folds
Deprecated.
|
protected String |
inputFolder
Deprecated.
|
List<List<String>> |
meanValues
Deprecated.
|
String |
outputFile
Deprecated.
|
protected int |
row_a
Deprecated.
|
protected int |
row_b
Deprecated.
|
protected int |
row_c
Deprecated.
|
protected int |
row_d
Deprecated.
|
protected int |
row_fscoreIndex
Deprecated.
|
protected int |
row_precisionIndex
Deprecated.
|
protected int |
row_recallIndex
Deprecated.
|
protected int |
runs
Deprecated.
|
List<List<String>> |
values
Deprecated.
|
Constructor and Description |
---|
FoxEvaluationHelper()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addAccuracy()
Deprecated.
|
protected void |
addError()
Deprecated.
|
protected void |
addFscore()
Deprecated.
|
protected void |
addMcc()
Deprecated.
|
protected void |
addPrecision()
Deprecated.
|
protected void |
addRecall()
Deprecated.
|
protected void |
addValues()
Deprecated.
|
List<String> |
getFiles(String folder)
Deprecated.
read folder to files
|
protected double |
getFN(List<String> row)
Deprecated.
|
protected double |
getFP(List<String> row)
Deprecated.
|
String |
getInputFolder()
Deprecated.
|
String |
getOutputFile()
Deprecated.
|
protected double |
getTN(List<String> row)
Deprecated.
|
protected double |
getTP(List<String> row)
Deprecated.
|
static void |
main(String[] args)
Deprecated.
|
void |
mean()
Deprecated.
|
protected void |
meanHelper(List<String> list)
Deprecated.
|
void |
meanTable()
Deprecated.
|
protected void |
meanTableHelper(List<String> list)
Deprecated.
|
void |
read()
Deprecated.
|
void |
round()
Deprecated.
|
void |
setInputFolder(String inputFolder)
Deprecated.
|
void |
setOutputFile(String outputFile)
Deprecated.
|
protected void |
write()
Deprecated.
|
public static final String CFG_KEY_CROSSVALIDATION_RUNS
protected int folds
protected int runs
protected int col_run
protected int col_classifier
protected int col_classs
protected int row_a
protected int row_b
protected int row_c
protected int row_d
protected int row_recallIndex
protected int row_precisionIndex
protected int row_fscoreIndex
protected String inputFolder
public String outputFile
public static void main(String[] args) throws IOException
args
-
-i for an input directory
(files in csv format with columns:
run, classifier, class, a, b, c, d)
-o for an output file
IOException
- if something wrongprotected void write() throws IOException
IOException
public void mean()
public void round()
public void meanTable()
protected void addValues()
protected void addMcc()
protected void addError()
protected void addAccuracy()
protected void addFscore()
protected void addPrecision()
protected void addRecall()
public List<String> getFiles(String folder) throws IOException
IOException
public void read() throws IOException
IOException
public String getOutputFile()
public void setOutputFile(String outputFile)
outputFile
- public String getInputFolder()
public void setInputFolder(String inputFolder)
inputFolder
- Copyright © 2024. All rights reserved.