Class MimicChowLiuModel
java.lang.Object
com.knezevic.edaf.v3.models.discrete.MimicChowLiuModel
MIMIC-style model using a Chow-Liu maximum-weight dependency tree.
The model approximates the elite distribution with the best tree-structured factorization under pairwise mutual information. In this implementation, the root is chosen as the minimum-entropy variable to stabilize chain/tree sampling on highly decisive loci.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExposes diagnostics (entropy, covariance condition number, etc.).voidfit(List<Individual<BitString>> selected, Representation<BitString> representation, RngStream rng) Fits model parameters from selected individuals.name()Model identifier used in configuration and listing commands.sample(int count, Representation<BitString> representation, Problem<BitString> problem, ConstraintHandling<BitString> constraintHandling, RngStream rng) Samples new genotypes from model.
-
Constructor Details
-
MimicChowLiuModel
public MimicChowLiuModel(double smoothing) - Parameters:
smoothing- Laplace smoothing for marginal and conditional estimates
-
-
Method Details
-
name
-
fit
public void fit(List<Individual<BitString>> selected, Representation<BitString> representation, RngStream rng) Description copied from interface:ModelFits model parameters from selected individuals. -
sample
public List<BitString> sample(int count, Representation<BitString> representation, Problem<BitString> problem, ConstraintHandling<BitString> constraintHandling, RngStream rng) Description copied from interface:ModelSamples new genotypes from model. -
diagnostics
Description copied from interface:ModelExposes diagnostics (entropy, covariance condition number, etc.).- Specified by:
diagnosticsin interfaceModel<BitString>
-