smile.classification
Class NaiveBayesTest
- java.lang.Object
-
- smile.classification.NaiveBayesTest
-
public class NaiveBayesTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description NaiveBayesTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidsetUp()static voidsetUpClass()voidtearDown()static voidtearDownClass()voidtestLearnBernoulli()Test of learn method, of class SequenceNaiveBayes.voidtestLearnBernoulli2()Test of learn method, of class SequenceNaiveBayes.voidtestLearnMultinomial()Test of learn method, of class SequenceNaiveBayes.voidtestLearnMultinomial2()Test of learn method, of class SequenceNaiveBayes.voidtestPredict()Test of predict method, of class NaiveBayes.
-
-
-
Method Detail
-
setUpClass
public static void setUpClass() throws java.lang.Exception- Throws:
java.lang.Exception
-
tearDownClass
public static void tearDownClass() throws java.lang.Exception- Throws:
java.lang.Exception
-
setUp
public void setUp()
-
tearDown
public void tearDown()
-
testPredict
public void testPredict()
Test of predict method, of class NaiveBayes.
-
testLearnMultinomial
public void testLearnMultinomial()
Test of learn method, of class SequenceNaiveBayes.
-
testLearnMultinomial2
public void testLearnMultinomial2()
Test of learn method, of class SequenceNaiveBayes.
-
testLearnBernoulli
public void testLearnBernoulli()
Test of learn method, of class SequenceNaiveBayes.
-
testLearnBernoulli2
public void testLearnBernoulli2()
Test of learn method, of class SequenceNaiveBayes.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG