Changeset 80 for trunk/CrossPareConfigurationBuilder/src
- Timestamp:
- 05/06/16 15:55:40 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CrossPareConfigurationBuilder/src/de/ugoe/cs/crosspare/ConfigurationBuilder.java
r60 r80 23 23 writeFile("Peters2012", dataset); 24 24 writeFile("Uchigaki2012", dataset); 25 // TODO Canfora 2013 (MODEP)25 writeFile("Canfora2013", dataset); 26 26 writeFile("Peters2013", dataset); 27 27 writeFile("Herbold2013", dataset); … … 31 31 // TODO F.Zhang 2014 32 32 // TODO Mizuno 2014: data not public 33 // TODO Ryu 201433 writeFile("Ryu2014", dataset); 34 34 writeFile("PHe2015", dataset); 35 35 // TODO Peters 2015 (LACE2) 36 // TODO Chen 201537 36 writeFile("Kawata2015", dataset); 38 37 writeFile("YZhang2015", dataset); 39 38 writeFile("Amasaki2015", dataset); 40 // TODO Ryu 2015a41 39 writeFile("Ryu2015b", dataset); 42 40 // TODO Cao 2015 implementation details missing 43 41 writeFile("Nam2015b", dataset); 44 // TODO test45 42 } 46 43 } … … 66 63 67 64 public static void postamble(StringBuilder configFile) { 65 configFile.append(" <storage name=\"MySQLResultStorage\" param=\"\" />\n"); 68 66 configFile.append("</config>"); 69 67 } … … 73 71 configFile.append(" <trainer name=\"WekaTraining\" param=\"C4.5-DTree weka.classifiers.trees.J48 -CVPARAM C 0.1 0.3 5\" />\n"); 74 72 configFile.append(" <trainer name=\"WekaTraining\" param=\"Logistic weka.classifiers.functions.Logistic\" />\n"); 75 configFile.append(" <trainer name=\"WekaTraining\" param=\"NeuralNetwork weka.classifiers.functions.MultilayerPerceptron -CVPARAM M 1.5 2.5 3.0 L 0.2 0.4 3.0\" />\n");76 73 configFile.append(" <trainer name=\"WekaTraining\" param=\"RBFNetwork weka.classifiers.functions.RBFNetwork -CVPARAM W 0.1 10.0 3.0 L 2.0 18.0 3.0\" />\n"); 77 74 configFile.append(" <trainer name=\"WekaTraining\" param=\"SMORBF weka.classifiers.functions.SMO -K weka.classifiers.functions.supportVector.RBFKernel\" />\n"); … … 82 79 configFile.append(" <setwisetrainer name=\"WekaBaggingTraining\" param=\"BaggingC4.5-DTree weka.classifiers.trees.J48 -CVPARAM C 0.1 0.3 5\" />\n"); 83 80 configFile.append(" <setwisetrainer name=\"WekaBaggingTraining\" param=\"BaggingLogistic weka.classifiers.functions.Logistic\" />\n"); 84 configFile.append(" <setwisetrainer name=\"WekaBaggingTraining\" param=\"BaggingNeuralNetwork weka.classifiers.functions.MultilayerPerceptron -CVPARAM M 1.5 2.5 3.0 L 0.2 0.4 3.0\" />\n");85 81 configFile.append(" <setwisetrainer name=\"WekaBaggingTraining\" param=\"BaggingRBFNetwork weka.classifiers.functions.RBFNetwork -CVPARAM W 0.1 10.0 3.0 L 2.0 18.0 3.0\" />\n"); 86 82 configFile.append(" <setwisetrainer name=\"WekaBaggingTraining\" param=\"BaggingSMORBF weka.classifiers.functions.SMO -K weka.classifiers.functions.supportVector.RBFKernel\" />\n"); … … 91 87 configFile.append(" <trainer name=\"WekaLocalFQTraining\" param=\"LocalC4.5-DTree weka.classifiers.trees.J48 -CVPARAM C 0.1 0.3 5\" />\n"); 92 88 configFile.append(" <trainer name=\"WekaLocalFQTraining\" param=\"LocalLogistic weka.classifiers.functions.Logistic\" />\n"); 93 configFile.append(" <trainer name=\"WekaLocalFQTraining\" param=\"LocalNeuralNetwork weka.classifiers.functions.MultilayerPerceptron -CVPARAM M 1.5 2.5 3.0 L 0.2 0.4 3.0\" />\n");94 89 configFile.append(" <trainer name=\"WekaLocalFQTraining\" param=\"LocalRBFNetwork weka.classifiers.functions.RBFNetwork -CVPARAM W 0.1 10.0 3.0 L 2.0 18.0 3.0\" />\n"); 95 90 configFile.append(" <trainer name=\"WekaLocalFQTraining\" param=\"LocalSMORBF weka.classifiers.functions.SMO -K weka.classifiers.functions.supportVector.RBFKernel\" />\n"); … … 100 95 configFile.append(" <trainer name=\"WekaLASERTraining\" param=\"LASERC4.5-DTree weka.classifiers.trees.J48 -CVPARAM C 0.1 0.3 5\" />\n"); 101 96 configFile.append(" <trainer name=\"WekaLASERTraining\" param=\"LASERLogistic weka.classifiers.functions.Logistic\" />\n"); 102 configFile.append(" <trainer name=\"WekaLASERTraining\" param=\"LASERNeuralNetwork weka.classifiers.functions.MultilayerPerceptron -CVPARAM M 1.5 2.5 3.0 L 0.2 0.4 3.0\" />\n");103 97 configFile.append(" <trainer name=\"WekaLASERTraining\" param=\"LASERRBFNetwork weka.classifiers.functions.RBFNetwork -CVPARAM W 0.1 10.0 3.0 L 2.0 18.0 3.0\" />\n"); 104 98 configFile.append(" <trainer name=\"WekaLASERTraining\" param=\"LASERSMORBF weka.classifiers.functions.SMO -K weka.classifiers.functions.supportVector.RBFKernel\" />\n"); … … 109 103 { 110 104 case MDP: 111 configFile.append(" <loader name=\"NasaARFFFolderLoader\" datalocation=\" exp-mdp/data\" relative=\"false\"/>\n");112 configFile.append(" <results Path path=\"exp-mdp/results\"/>\n");105 configFile.append(" <loader name=\"NasaARFFFolderLoader\" datalocation=\"benchmark/data/MDP\" relative=\"false\"/>\n"); 106 configFile.append(" <resultspath path=\"benchmark/results-csv\"/>\n"); 113 107 break; 114 108 case JURECZKO: 115 configFile.append(" <loader name=\"CSVFolderLoader\" datalocation=\" exp-java/data\" relative=\"false\"/>\n");116 configFile.append(" <results Path path=\"exp-java/results\"/>\n");109 configFile.append(" <loader name=\"CSVFolderLoader\" datalocation=\"benchmark/data/JURECZKO\" relative=\"false\"/>\n"); 110 configFile.append(" <resultspath path=\"benchmark/results-csv\"/>\n"); 117 111 break; 118 112 default: … … 219 213 dataset(configFile, dataset); 220 214 221 configFile.append(" <preprocessor name=\"ZScoreNormalization\" param=\"\" /> ");215 configFile.append(" <preprocessor name=\"ZScoreNormalization\" param=\"\" />\n"); 222 216 configFile.append(" <trainer name=\"WekaTraining\" param=\"LogisticEnsemble de.ugoe.cs.cpdp.wekaclassifier.LogisticEnsemble\" />\n"); 223 217 configFile.append(" <eval name=\"NormalWekaEvaluation\" param=\"\" />\n"); … … 227 221 } 228 222 229 // TODO Canfora 2013 (MODEP) 223 public static String Canfora2013(Dataset dataset) { 224 StringBuilder configFile = new StringBuilder(); 225 preamble(configFile); 226 dataset(configFile, dataset); 227 228 configFile.append(" <preprocessor name=\"ZScoreNormalization\" param=\"\" />\n"); 229 configFile.append(" <trainer name=\"WekaTraining\" param=\"MODEP de.ugoe.cs.cpdp.wekaclassifier.MODEPClassifier -R 0.7\" />\n"); 230 configFile.append(" <eval name=\"NormalWekaEvaluation\" param=\"\" />\n"); 231 232 postamble(configFile); 233 return configFile.toString(); 234 } 230 235 231 236 public static String Peters2013(Dataset dataset) { … … 304 309 // TODO Mizuno 2014: data not public 305 310 306 // TODO Ryu 2014 311 public static String Ryu2014(Dataset dataset) { 312 StringBuilder configFile = new StringBuilder(); 313 preamble(configFile); 314 dataset(configFile, dataset); 315 316 configFile.append(" <preprocessor name=\"ZScoreNormalization\" param=\"\" />\n"); 317 configFile.append(" <testawaretrainer name=\"WekaTestAwareTraining\" param=\"VCBSVM de.ugoe.cs.cpdp.wekaclassifier.VCBSVM -L 0.1 -B 10\" />\n"); 318 configFile.append(" <eval name=\"NormalWekaEvaluation\" param=\"\" />\n"); 319 320 postamble(configFile); 321 return configFile.toString(); 322 } 307 323 308 324 public static String PHe2015(Dataset dataset) { … … 321 337 322 338 // TODO Peters 2015 (LACE2) 323 324 // TODO Chen 2015325 339 326 340 public static String Kawata2015(Dataset dataset) { … … 369 383 } 370 384 371 // TODO Amasaki 2015372 373 // TODO Ryu 2015a374 375 385 public static String Ryu2015b(Dataset dataset) { 376 386 StringBuilder configFile = new StringBuilder();
Note: See TracChangeset
for help on using the changeset viewer.