|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlio.probdistributions.bitchain.BinaryProbDistribution
public abstract class BinaryProbDistribution
This class implements the common features and data structures for the binary probability distributions.
| Field Summary | |
|---|---|
protected SetAnalysis |
data
Encapsulates the population in order to obtain statistics |
protected boolean |
laplace
Whether to use laplace estimation or not when learning the model. |
protected int |
size
Size of the model |
| Constructor Summary | |
|---|---|
BinaryProbDistribution()
|
|
| Method Summary | |
|---|---|
boolean |
isLaplace()
Getter for property laplace. |
void |
setLaplace(boolean laplace)
Setter for property laplace. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface lio.probdistributions.ProbDistribution |
|---|
learn, sample |
| Methods inherited from interface lio.core.LiOResource |
|---|
getDefinition |
| Field Detail |
|---|
protected SetAnalysis data
protected int size
protected boolean laplace
| Constructor Detail |
|---|
public BinaryProbDistribution()
| Method Detail |
|---|
public boolean isLaplace()
public void setLaplace(boolean laplace)
laplace - New value of property laplace.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||