public class SemiLEvaluationParser extends BaseClassifierEvaluationParser
BaseClassifierEvaluationParser.InstanceClassInfo
ClassifierEvaluationParser.ParseOption
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
log |
static Pattern |
pGamma
parse options
|
static Pattern |
pLabel |
static Pattern |
pLambda |
static Pattern |
pLaplacian |
static Pattern |
pMu |
static Pattern |
pOutput
distance files of the form label1_dist_pearson_5.txt parse out
the metric and degree from the file name.
|
static Pattern |
pPercent |
wsDotPattern, wsPattern
NO, YES
Constructor and Description |
---|
SemiLEvaluationParser() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
void |
parseDirectory(File dataDir,
File outputDir) |
checkFileRead, extractFirstToken, getClassifierEvaluationDao, getFileBaseName, initClassifierEvaluation, initClassifierEvaluationFromProperties, loadClassIdMap, loadClassInfo, loadInstanceClassInfo, loadProps, parseDoubleOption, parseInstanceIds, parseIntOption, setClassifierEvaluationDao, storeSemiSupervised, updateSemiSupervisedPredictions, updateSemiSupervisedPredictions
public static final org.apache.commons.logging.Log log
public static Pattern pGamma
gamma=10.000000 mu=0.500000 lambda=0.010100 hard_label=1 Laplacian=1 percentage of labeled points =0.000000
public static Pattern pMu
public static Pattern pLambda
public static Pattern pLabel
public static Pattern pLaplacian
public static Pattern pPercent
public static Pattern pOutput
public void parseDirectory(File dataDir, File outputDir) throws IOException
fileBaseName
- e.g. label1_run1_fold1dataDir
- where train, test, id files are locatedoutputDir
- where classifier output is storedIOException
public static void main(String[] args) throws IOException
IOException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.