~ubuntu-branches/ubuntu/raring/weka/raring

« back to all changes in this revision

Viewing changes to weka/classifiers/mi/MISMO.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:
35
35
import weka.core.MultiInstanceCapabilitiesHandler;
36
36
import weka.core.Option;
37
37
import weka.core.OptionHandler;
 
38
import weka.core.RevisionHandler;
 
39
import weka.core.RevisionUtils;
38
40
import weka.core.SelectedTag;
39
41
import weka.core.SerializedObject;
40
42
import weka.core.Tag;
180
182
 * @author Shane Legg (shane@intelligenesis.net) (sparse vector code)
181
183
 * @author Stuart Inglis (stuart@reeltwo.com) (sparse vector code)
182
184
 * @author Lin Dong (ld21@cs.waikato.ac.nz) (code for adapting to MI data)
183
 
 * @version $Revision: 1.5 $ 
 
185
 * @version $Revision: 1.6 $ 
184
186
 */
185
187
public class MISMO 
186
188
  extends Classifier 
251
253
   * Class for building a binary support vector machine.
252
254
   */
253
255
  protected class BinaryMISMO 
254
 
    implements Serializable {
 
256
    implements Serializable, RevisionHandler {
255
257
 
256
258
    /** for serialization */
257
259
    static final long serialVersionUID = -7107082483475433531L;
959
961
        } 
960
962
      }
961
963
    }  
 
964
    
 
965
    /**
 
966
     * Returns the revision string.
 
967
     * 
 
968
     * @return          the revision
 
969
     */
 
970
    public String getRevision() {
 
971
      return RevisionUtils.extract("$Revision: 1.6 $");
 
972
    }
962
973
  }
963
974
 
964
975
  /** Normalize training data */
2097
2108
 
2098
2109
    return text.toString();
2099
2110
  }
 
2111
  
 
2112
  /**
 
2113
   * Returns the revision string.
 
2114
   * 
 
2115
   * @return            the revision
 
2116
   */
 
2117
  public String getRevision() {
 
2118
    return RevisionUtils.extract("$Revision: 1.6 $");
 
2119
  }
2100
2120
 
2101
2121
  /**
2102
2122
   * Main method for testing this class.