|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlio.probdistributions.bitchain.BinaryProbDistribution
lio.probdistributions.bitchain.BivariateProbDistribution
lio.probdistributions.bitchain.Tree
public class Tree
Field Summary | |
---|---|
(package private) double[] |
entropies
Entropy of each variable |
(package private) double[] |
marginalFqs
Marginal frequencies |
(package private) double[][] |
mutualInformations
Mutual information of the variables . |
(package private) int |
nRemNodes
Number of remaining nodes. |
(package private) int[] |
remNodes
Remaining nodes |
Fields inherited from class lio.probdistributions.bitchain.BivariateProbDistribution |
---|
conditionals, marginals, parents, variables |
Fields inherited from class lio.probdistributions.bitchain.BinaryProbDistribution |
---|
data, laplace, size |
Constructor Summary | |
---|---|
Tree()
|
Method Summary | |
---|---|
void |
createStructures(int pSize)
Creates the necessary structures for the search. |
LiOResourceDefinition |
getDefinition()
Return a LiOResDescription object with the information of each object. |
void |
learn(Individual[] individuals)
Learns a probability distribution from a set of data |
static void |
main(java.lang.String[] args)
Main method to test the task. |
Methods inherited from class lio.probdistributions.bitchain.BivariateProbDistribution |
---|
sample |
Methods inherited from class lio.probdistributions.bitchain.BinaryProbDistribution |
---|
isLaplace, setLaplace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
double[][] mutualInformations
double[] marginalFqs
double[] entropies
int[] remNodes
int nRemNodes
Constructor Detail |
---|
public Tree()
Method Detail |
---|
public void learn(Individual[] individuals)
ProbDistribution
individuals
- Set of individiduals from which de distribution
is estimated.public void createStructures(int pSize)
createStructures
in class BivariateProbDistribution
pSize
- Size of the individuals from which the model will be learnt.public static void main(java.lang.String[] args)
public LiOResourceDefinition getDefinition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |