|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectLBJ2.learn.Parameters
LBJ2.learn.NaiveBayes.Parameters
public static class NaiveBayes.Parameters
Simply a container for all of NaiveBayes's configurable
parameters. Using instances of this class should make code more
readable and constructors less complicated.
| Field Summary | |
|---|---|
double |
smoothing
The exponential of this number is used as the conditional probability of a feature that was never observed during training; default NaiveBayes.defaultSmoothing. |
| Constructor Summary | |
|---|---|
NaiveBayes.Parameters()
Sets all the default values. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public double smoothing
NaiveBayes.defaultSmoothing.
| Constructor Detail |
|---|
public NaiveBayes.Parameters()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||