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

« back to all changes in this revision

Viewing changes to weka/classifiers/functions/LinearRegression.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:
29
29
import weka.core.Matrix;
30
30
import weka.core.Option;
31
31
import weka.core.OptionHandler;
 
32
import weka.core.RevisionUtils;
32
33
import weka.core.SelectedTag;
33
34
import weka.core.Tag;
34
35
import weka.core.Utils;
70
71
 *
71
72
 * @author Eibe Frank (eibe@cs.waikato.ac.nz)
72
73
 * @author Len Trigg (trigg@cs.waikato.ac.nz)
73
 
 * @version $Revision: 1.23 $
 
74
 * @version $Revision: 1.24 $
74
75
 */
75
76
public class LinearRegression extends Classifier implements OptionHandler,
76
77
  WeightedInstancesHandler {
901
902
 
902
903
    return coefficients;
903
904
  }
 
905
  
 
906
  /**
 
907
   * Returns the revision string.
 
908
   * 
 
909
   * @return            the revision
 
910
   */
 
911
  public String getRevision() {
 
912
    return RevisionUtils.extract("$Revision: 1.24 $");
 
913
  }
904
914
 
905
915
  /**
906
916
   * Generates a linear regression function predictor.