All dplbnDE algorithm functions return an object of S3 classDocumentation 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.
DE. Two S3 methods are provided for inspecting results.
print.DE
Output
| Field | Description |
|---|---|
| Number of evaluations | Total CLL fitness calls made during evolution |
| Final population size | Number of individuals remaining (may be < NP for LPSR variants) |
| Best CLL | Highest (least negative) Conditional Log-Likelihood found |
| Worst CLL | Lowest CLL in the final population |
| Median | Median CLL across final population |
| Std. Dev. | Standard deviation of CLL — low values indicate convergence |
plot.DE
- CLL histogram — distribution of CLL values across the final population. A narrow, peaked histogram indicates the population has converged to a high-quality region.
- Convergence plot — best CLL vs. cumulative evaluations. A flattening curve indicates convergence; a still-declining curve suggests increasing G would help.
Example
DE object fields
All algorithm functions return a list with class"DE":
| Field | Type | Description |
|---|---|---|
$Best | bnc_bn | Best Bayesian Network found |
$BestCLL | numeric | CLL of the best network |
$pobFinal | list of bnc_bn | Final population |
$CLLPobFinal | numeric vector | CLL of each final individual |
$N.evals | integer | Total evaluations |
$convergence | numeric vector | Best CLL per generation |
$evaluations | integer vector | Cumulative evaluations per generation |
$Best with bnclassify for prediction: