assign00.HardCodedClassifier.java Source code

Java tutorial

Introduction

Here is the source code for assign00.HardCodedClassifier.java

Source

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package assign00;

import weka.classifiers.Classifier;
import weka.core.Instance;
import weka.core.Instances;

/**
 *
 * @author Iceman
 */
public class HardCodedClassifier extends Classifier {

    @Override
    public void buildClassifier(Instances i) {
        return;
    }

    @Override
    public double classifyInstance(Instance instance) {
        return 0;
    }

}