Description Usage Arguments Value Examples
Construct normalized class properties for a given set of parameters
1 | update_probabilities(dprob, params)
|
dprob |
Probability distribution function to call. See 'dprob.list' for examples. |
params |
List of class parameters. Length of list is number of classes |
A n-by-k matrix of class probabilities (each row normalized to 1).
1 2 3 4 5 6 7 | x <- model.matrix(~ factor(wool) + factor(tension), warpbreaks)
y <- warpbreaks$breaks
dprob <- make.dpois(x = x, y = y)
params <- list(rep(1, 4))
update_probabilities(dprob, params)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.