Last change
on this file since 18 was
2,
checked in by sherbold, 10 years ago
|
|
-
Property svn:mime-type set to
text/plain
|
File size:
339 bytes
|
Line | |
---|
1 | package de.ugoe.cs.cpdp.training;
|
---|
2 |
|
---|
3 | import weka.classifiers.Classifier;
|
---|
4 | import weka.classifiers.bayes.NaiveBayes;
|
---|
5 |
|
---|
6 | public class NaiveBayesTraining extends WekaTraining {
|
---|
7 |
|
---|
8 | @Override
|
---|
9 | public String getName() {
|
---|
10 | return "NaiveBayes";
|
---|
11 | }
|
---|
12 |
|
---|
13 | @Override
|
---|
14 | protected Classifier setupClassifier() {
|
---|
15 | return new NaiveBayes();
|
---|
16 | }
|
---|
17 |
|
---|
18 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.