Estimate CPTs from data using maximum likelihood with Laplace smoothing.
— matrix of observations (rows × columns)
— causal DAG defining parent-child relationships
— mapping from node name to column index
Estimate CPTs from data using maximum likelihood with Laplace smoothing.