~ubuntu-branches/ubuntu/vivid/weka/vivid

« back to all changes in this revision

Viewing changes to src/main/java/weka/attributeSelection/WrapperSubsetEval.java

  • Committer: Package Import Robot
  • Author(s): tony mancill
  • Date: 2011-11-24 12:35:17 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20111124123517-kn23dn5u8pi4liq0
Tags: 3.6.6-1
* Team upload.
* New upstream version (Closes: #649734)
* Update rules and build-deps for default-jdk and default-jre.

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
 <!-- options-end -->
109
109
 *
110
110
 * @author Mark Hall (mhall@cs.waikato.ac.nz)
111
 
 * @version $Revision: 5511 $
 
111
 * @version $Revision: 7433 $
112
112
 */
113
113
public class WrapperSubsetEval
114
114
  extends ASEvaluation
635
635
    int i;
636
636
    double mean = 0;
637
637
    double variance = 0;
 
638
    
 
639
    // setting a threshold less than zero allows for "manual" exploration
 
640
    // and prevents multiple xval for each subset
 
641
    if (m_threshold < 0) { 
 
642
      return false; 
 
643
    }
638
644
 
639
645
    if (entries == 1) {
640
646
      return  true;
669
675
   * @return            the revision
670
676
   */
671
677
  public String getRevision() {
672
 
    return RevisionUtils.extract("$Revision: 5511 $");
 
678
    return RevisionUtils.extract("$Revision: 7433 $");
673
679
  }
674
680
 
675
681
  /**