Compute WANBIA weights.
Computes feature weights by optimizing conditional log-likelihood. Weights are bounded to [0, 1]. Implementation based on the original paper and the code provided at https://sourceforge.net/projects/rawnaivebayes.
compute_wanbia_weights(class, dataset, return_optim_object = FALSE)
a named numeric vector
A character. Name of the class variable.
The data frame from which to learn feature weights
Return full output of `optim`