Extend hamlet classifier to use all compatible classifiers in weka
Bug #254448 reported by
andrew
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 distributionFor
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 |
To post a comment you must log in.
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.classifier s.bayes. BayesNet s.bayes. DMNBtext s.bayes. NaiveBayes s.bayes. NaiveBayesMulti nomial s.bayes. NaiveBayesMulti nomialUpdateabl e s.lazy. IBk s.lazy. KStar s.lazy. LWL s.misc. HyperPipes s.misc. VFI s.rules. ConjunctiveRule s.rules. DecisionTable s.rules. JRip s.rules. PART s.rules. ZeroR s.trees. DecisionStump s.trees. J48 s.trees. J48graft s.trees. RandomForest s.trees. RandomTree s.trees. REPTree s.trees. SimpleCart
weka.classifier
weka.classifier
weka.classifier
weka.classifier
weka.classifier
weka.classifier
weka.classifier
weka.classifier
weka.classifier
weka.classifier
weka.classifier
weka.classifier
weka.classifier
weka.classifier
weka.classifier
weka.classifier
weka.classifier
weka.classifier
weka.classifier
weka.classifier
weka.classifier