Plot evolving histograms for the advice weights of a model
1 2 3 4 5 6 | weightEvolution(
model,
decisions = function(d) as.integer(seq(1, length(d), length.out = 10)),
binwidth = 0.025,
k = 1:2
)
|
model |
model to inspect |
decisions |
function taking an integer vector of decision numbers and returning a logical vector of whether to plot weights at that decision |
binwidth |
width of the histogram bins |
k |
cluster counts to compare with .cluster_count |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.