Changeset 136
- Timestamp:
- 07/18/16 13:44:58 (8 years ago)
- Location:
- trunk/CrossPare/src/de/ugoe/cs/cpdp
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CrossPare/src/de/ugoe/cs/cpdp/ExperimentConfiguration.java
r135 r136 188 188 * Constructor. Creates a new configuration from a given file. 189 189 * 190 * @param file name190 * @param file 191 191 * handle of the file from the configuration is loaded. 192 192 * @throws ExperimentConfigurationException … … 414 414 } 415 415 416 /** 417 * <p> 418 * returns the result storages 419 * </p> 420 * 421 * @return result storages 422 */ 416 423 public List<IResultStorage> getResultStorages() { 417 424 return resultStorages; -
trunk/CrossPare/src/de/ugoe/cs/cpdp/dataprocessing/NormalizationUtil.java
r86 r136 137 137 * @param testdata 138 138 * test data of the target product 139 * @param traindata 139 * @param traindataSet 140 140 * training data 141 141 */ -
trunk/CrossPare/src/de/ugoe/cs/cpdp/decentApp/DECENTEpsilonModelHandler.java
r86 r136 42 42 private boolean useARFFxBinary = false; 43 43 44 /** 45 * path for DECENT model meta data 46 */ 44 47 public static String metaPath = "./decent/models/"; 45 48 … … 300 303 * @param fileName 301 304 * of the file 302 * @return 305 * @return file name 303 306 * @throws URISyntaxException 304 307 */ … … 337 340 * Returns true if decent binary model is used 338 341 * 339 * @return 342 * @return true if binary 340 343 */ 341 344 … … 356 359 * Returns true if arffx binary model is used 357 360 * 358 * @return 361 * @return true if ARFFx 359 362 */ 360 363 public boolean isUseARFFxBinary() { -
trunk/CrossPare/src/de/ugoe/cs/cpdp/decentApp/ResourceTool.java
r86 r136 120 120 121 121 /** 122 * Loads a res source from XMI122 * Loads a resource from XMI 123 123 * 124 124 * @param inputPath 125 125 * path to the xmi 126 126 * @param extension 127 * of the res source to load127 * of the resource to load 128 128 * @param p 129 129 * the given EPackage 130 * @return 130 * @return the resource 131 131 */ 132 132 // TODO: workarounds copied from respective methods without EPackage parameter … … 156 156 157 157 /** 158 * Loads a res source from XMI158 * Loads a resource from XMI 159 159 * 160 160 * @param inputPath … … 162 162 * @param extension 163 163 * of the ressource to load 164 * @return 164 * @return the resource 165 165 */ 166 166 … … 187 187 188 188 /** 189 * Gets a res source from a binary form189 * Gets a resource from a binary form 190 190 * 191 191 * @param inputPath … … 194 194 * of the model to load 195 195 * @param p 196 * EPackage to put the loaded res source in197 * @return 196 * EPackage to put the loaded resource in 197 * @return the resource 198 198 */ 199 199 public Resource getResourceFromBinary(String inputPath, String extension, EPackage p) { … … 218 218 219 219 /** 220 * Loads a res source from a binary form220 * Loads a resource from a binary form 221 221 * 222 222 * @param inputPath … … 225 225 * of the model to load 226 226 * @param p 227 * EPackage to put the loaded res source in228 * @return 227 * EPackage to put the loaded resource in 228 * @return the resource 229 229 */ 230 230 // TODO: workarounds copied from respective methods without EPackage parameter … … 266 266 267 267 /** 268 * Loads a res source from a binary form268 * Loads a resource from a binary form 269 269 * 270 270 * @param inputPath … … 272 272 * @param extension 273 273 * of the model to load 274 * @return 274 * @return the resource 275 275 */ 276 276 @SuppressWarnings( -
trunk/CrossPare/src/de/ugoe/cs/cpdp/eval/IEvaluationStrategy.java
r132 r136 38 38 * @param trainers 39 39 * list of training algorithms used to train the classifiers 40 * @param efforts 41 * list with review efforts for each instance 40 42 * @param writeHeader 41 43 * if true, a header line for the results file is written (may not be applicable) -
trunk/CrossPare/src/de/ugoe/cs/cpdp/loader/DecentDataLoader.java
r135 r136 403 403 * Returns if a filename ends with ".decent" 404 404 * 405 * @return 405 * @return true if a .decent file 406 406 */ 407 407 @Override -
trunk/CrossPare/src/de/ugoe/cs/cpdp/loader/SingleVersionLoader.java
r86 r136 39 39 * considered. 40 40 * 41 * @param filename41 * @param endsWith 42 42 * string defining the filename filter 43 43 * @return true if a filename shall be considered -
trunk/CrossPare/src/de/ugoe/cs/cpdp/training/GPTraining.java
r135 r136 249 249 * </p> 250 250 * 251 * @return 251 * @return the instance values 252 252 */ 253 253 public double[][] getX() { … … 260 260 * </p> 261 261 * 262 * @return 262 * @return the instance labels 263 263 */ 264 264 public boolean[] getY() { … … 450 450 * @param populationSize 451 451 * the population size 452 * @param initMinDepth452 * @param minInitDept 453 453 * the initial minimal depth of the S-expression tree 454 * @param initMaxDepth454 * @param maxInitDepth 455 455 * the initial maximal depth of the S-expression tree 456 456 * @param tournamentSize … … 1265 1265 * @param evalData 1266 1266 * the validation data 1267 * @return 1267 * @return the type I and type II error rates 1268 1268 */ 1269 1269 public double[] evaluate(GPRun classifier, Instances evalData) { -
trunk/CrossPare/src/de/ugoe/cs/cpdp/training/QuadTree.java
r135 r136 525 525 * </ol> 526 526 * 527 * @param q527 * @param list 528 528 * List of QuadTree (children only) 529 529 */ -
trunk/CrossPare/src/de/ugoe/cs/cpdp/training/WekaLocalFQTraining.java
r135 r136 574 574 * 575 575 * @author Alexander Trautsch 576 * @param <T> type of the instance 576 577 */ 577 578 public class QuadTreePayload<T> { … … 615 616 * </p> 616 617 * 617 * @return 618 * @return the instance 618 619 */ 619 620 public T getInst() { -
trunk/CrossPare/src/de/ugoe/cs/cpdp/util/WekaUtils.java
r135 r136 38 38 */ 39 39 public static class DistChar { 40 41 /** 42 * mean distance 43 */ 40 44 public final double mean; 45 46 /** 47 * standard deviation 48 */ 41 49 public final double std; 50 51 /** 52 * minimal value 53 */ 42 54 public final double min; 55 56 /** 57 * maximal value 58 */ 43 59 public final double max; 60 61 /** 62 * number of instances 63 */ 44 64 public final int num; 45 65 66 /** 67 * <p> 68 * Constructor. Creates a new DistChar object. 69 * </p> 70 * 71 * @param mean mean distance between instances 72 * @param std standard deviation of distances between instances 73 * @param min minimal distance between instances 74 * @param max maximal distance between instances 75 * @param num number of instance 76 */ 46 77 private DistChar(double mean, double std, double min, double max, int num) { 47 78 this.mean = mean; -
trunk/CrossPare/src/de/ugoe/cs/cpdp/versions/SoftwareVersion.java
r135 r136 55 55 * @param instances 56 56 * data of the version 57 * @param efforts 58 * review efforts for the version 57 59 */ 58 60 public SoftwareVersion(String project, … … 99 101 * </p> 100 102 * 101 * @return 103 * @return the review efforts 102 104 */ 103 105 public List<Double> getEfforts() { -
trunk/CrossPare/src/de/ugoe/cs/cpdp/wekaclassifier/WHICH.java
r135 r136 363 363 * </p> 364 364 * 365 * @return 365 * @return the score 366 366 */ 367 367 public double getScore() { … … 532 532 * </p> 533 533 * 534 * @return 534 * @return drawn rule 535 535 */ 536 536 public WhichRule drawRule() {
Note: See TracChangeset
for help on using the changeset viewer.