~ubuntu-branches/ubuntu/oneiric/weka/oneiric

« back to all changes in this revision

Viewing changes to weka/core/CheckScheme.java

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner, Soeren Sonnenburg, Torsten Werner
  • Date: 2008-08-10 21:27:05 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080810212705-tr8etpnkdx2ziktp
Tags: 3.5.8-1
[ Soeren Sonnenburg ]
* Bump Standards Version to 3.8.0.
* Remove references to non-free Java in debian/copyright.

[ Torsten Werner ]
* new upstream release
* Switch to openjdk-6.
* Move package to main.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 * also used for JUnit tests.
33
33
 *
34
34
 * @author FracPete (fracpete at waikato dot ac dot nz)
35
 
 * @version $Revision: 1.3 $
 
35
 * @version $Revision: 1.4 $
36
36
 * @see TestInstances
37
37
 */
38
38
public abstract class CheckScheme
39
39
  extends Check {
40
40
  
41
41
  /** a class for postprocessing the test-data */
42
 
  public static class PostProcessor {
 
42
  public static class PostProcessor
 
43
    implements RevisionHandler {
 
44
    
43
45
    /**
44
46
     * Provides a hook for derived classes to further modify the data. Currently,
45
47
     * the data is just passed through.
50
52
    public Instances process(Instances data) {
51
53
      return data;
52
54
    }
 
55
    
 
56
    /**
 
57
     * Returns the revision string.
 
58
     * 
 
59
     * @return          the revision
 
60
     */
 
61
    public String getRevision() {
 
62
      return RevisionUtils.extract("$Revision: 1.4 $");
 
63
    }
53
64
  }
54
65
  
55
66
  /** The number of instances in the datasets */