Documentation Index
Fetch the complete documentation index at: https://mintlify.com/alexplatasl/dplbnde/llms.txt
Use this file to discover all available pages before exploring further.
DEbest implements the DE/best/1 and DE/best/2 mutation strategies with either binomial or exponential crossover.
Usage
Parameters
Population size. Must be > 5; values ≤ 5 are reset to 40.
Maximum number of generations. Values ≤ 1 are reset to 100.
Data frame from which to learn the classifier. Must contain the class variable.
Name of the class variable column in
data.Mutation factor. Must be in [0, 2]; values outside this range are reset to 0.5.
Crossover rate. Must be in [0, 1]; values outside this range are reset to 0.7.
Number of difference vector pairs in mutation: 1 (DE/best/1) or 2 (DE/best/2).
Crossover type:
"bin" (binomial) or "exp" (exponential).BN structure learning method:
"nb" (Naive Bayes), "tan" or "tancl" (TAN via Chow-Liu), "hc" (Hill-Climbing).Optional custom BN topology as an edges × 2 matrix with columns (from, to). Overrides
structure.Print progress every this many generations. Set to 0 to suppress output.
...
Additional arguments passed to
bnclassify::tan_cl or bnclassify::tan_hc (e.g., k for hill-climbing folds).Return value
An object of classDE containing:
The Bayesian Network with the highest CLL in the final population.
Conditional Log-Likelihood of the best network.
All
bnc_bn objects in the final population.CLL values for each member of the final population.
Total number of CLL evaluations performed.
Best CLL recorded at each generation.
Cumulative evaluations at each generation.