Java tutorial
/* * 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 com.mycompany.experimentshell; import weka.classifiers.Classifier; import weka.core.Instance; import weka.core.Instances; /** * * @author Besseym */ public class HardCodedClassifier extends Classifier { @Override public void buildClassifier(Instances data) { } @Override public double classifyInstance(Instance instance) { return 0; } }