Description Usage Arguments Details See Also Examples
Performs greedy optimisation to find the Bayes optimal decision given a collection (sample) of partitions.
1 | MinimiseEPL(sample_of_partitions, pars = list())
|
sample_of_partitions |
A |
pars |
A list of additional parameters. See 'Details'. |
weights
: a vector of size T
assigning a positive weight to each of the partitions in the sample. The vector does not have to be normalised but its entries must be positive numbers. If unspecified all weights are set to 1.
Kup
: positive integer identifying the number of groups used to generate the random initial partition. Defaults to N
.
decision_init
: a vector of size N
identifying the partition used to initialise the greedy algorithm. Entries must be integers greater than one. The default is sample(1:Kup, N, TRUE)
. Note that the number of groups in the initial partition also corresponds to the maximum number of groups allowed.
loss_type
: defines the loss function to be used in the expected posterior loss minimisation. Can be one of "VI"
(Variation of Information), "B"
(Binder's loss), "NVI"
(Normalised Variation of Information) or "NID"
(Normalised Information Distance). Defaults to "VI"
.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.