Extend hamlet classifier to use all compatible classifiers in weka

Bug #254448 reported by andrew
2
Affects Status Importance Assigned to Milestone
Hamlet
In Progress
Undecided
andrew

Bug Description

All compatible classifiers in weka use the same interface (as long as they implement the functions buildClassifier and distributionForInstance)

We need a generic weka classifier that accepts an argument telling it which classifier it should be implementing, which then instantiates the requested classifier.

There should also an auxiliary function to list all of the compatible classifiers in the weka. This will be useful for allowing the hamlet user to select which classifier he/she would like to use. This can be done via reflection.

Changed in hamlet:
assignee: nobody → andrew-j-matheny
Revision history for this message
andrew (andrew-j-matheny) wrote :

finding out which classifiers are compatible via reflection was harder than originally thought. I built a hard-coded list and am using this. Here are the classifiers I found to be compatible.

weka.classifiers.bayes.BayesNet
weka.classifiers.bayes.DMNBtext
weka.classifiers.bayes.NaiveBayes
weka.classifiers.bayes.NaiveBayesMultinomial
weka.classifiers.bayes.NaiveBayesMultinomialUpdateable
weka.classifiers.lazy.IBk
weka.classifiers.lazy.KStar
weka.classifiers.lazy.LWL
weka.classifiers.misc.HyperPipes
weka.classifiers.misc.VFI
weka.classifiers.rules.ConjunctiveRule
weka.classifiers.rules.DecisionTable
weka.classifiers.rules.JRip
weka.classifiers.rules.PART
weka.classifiers.rules.ZeroR
weka.classifiers.trees.DecisionStump
weka.classifiers.trees.J48
weka.classifiers.trees.J48graft
weka.classifiers.trees.RandomForest
weka.classifiers.trees.RandomTree
weka.classifiers.trees.REPTree
weka.classifiers.trees.SimpleCart

Changed in hamlet:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.