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

« back to all changes in this revision

Viewing changes to weka/classifiers/evaluation/NumericPrediction.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:
22
22
 
23
23
package weka.classifiers.evaluation;
24
24
 
 
25
import weka.core.RevisionHandler;
 
26
import weka.core.RevisionUtils;
 
27
 
25
28
import java.io.Serializable;
26
29
 
27
30
/**
29
32
 * plus the actual class value.
30
33
 *
31
34
 * @author Len Trigg (len@reeltwo.com)
32
 
 * @version $Revision: 1.8 $
 
35
 * @version $Revision: 1.9 $
33
36
 */
34
37
public class NumericPrediction
35
 
  implements Prediction, Serializable {
 
38
  implements Prediction, Serializable, RevisionHandler {
36
39
 
37
40
  /** for serialization */
38
41
  private static final long serialVersionUID = -4880216423674233887L;
133
136
    sb.append(' ').append(weight());
134
137
    return sb.toString();
135
138
  }
 
139
  
 
140
  /**
 
141
   * Returns the revision string.
 
142
   * 
 
143
   * @return            the revision
 
144
   */
 
145
  public String getRevision() {
 
146
    return RevisionUtils.extract("$Revision: 1.9 $");
 
147
  }
136
148
}