Ignore:
Timestamp:
07/18/16 12:26:03 (8 years ago)
Author:
sherbold
Message:
  • code documentation and formatting
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrossPare/src/de/ugoe/cs/cpdp/wekaclassifier/FixClass.java

    r86 r135  
    2323 
    2424/** 
    25  * Simple classifier that always predicts the same class 
     25 * Simple classifier that always predicts the same class. 
    2626 *  
    2727 * @author Steffen Herbold 
     
    2929public class FixClass extends AbstractClassifier { 
    3030 
     31    /** 
     32     * default serialization ID 
     33     */ 
    3134    private static final long serialVersionUID = 1L; 
    3235 
     36    /** 
     37     * default prediction: non-defective 
     38     */ 
    3339    private double fixedClassValue = 0.0d; 
    34  
    35     public FixClass() { 
    36         // TODO Auto-generated constructor stub 
    37     } 
    3840 
    3941    /** 
     
    6668    } 
    6769 
     70    /* 
     71     * (non-Javadoc) 
     72     *  
     73     * @see weka.classifiers.AbstractClassifier#setOptions(java.lang.String[]) 
     74     */ 
    6875    @Override 
    6976    public void setOptions(String[] options) throws Exception { 
     
    7178    } 
    7279 
     80    /* 
     81     * (non-Javadoc) 
     82     *  
     83     * @see weka.classifiers.AbstractClassifier#classifyInstance(weka.core.Instance) 
     84     */ 
    7385    @Override 
    7486    public double classifyInstance(Instance instance) { 
     
    7688    } 
    7789 
     90    /* 
     91     * (non-Javadoc) 
     92     *  
     93     * @see weka.classifiers.Classifier#buildClassifier(weka.core.Instances) 
     94     */ 
    7895    @Override 
    7996    public void buildClassifier(Instances traindata) throws Exception { 
Note: See TracChangeset for help on using the changeset viewer.