Extract probabilities for gips object optimized with return_probabilities = TRUE
Source: R/gips_methods.R
get_probabilities_from_gips.RdRead probabilities previously calculated by
find_MAP(return_probabilities = TRUE, save_all_perms = TRUE).
This function does not calculate missing probabilities.
BF gives the full posterior over cyclic groups; MH gives the posterior
conditional on the distinct visited groups. See find_MAP().
Value
A numeric vector of probabilities sorted in decreasing order,
named by representative generators of cyclic groups.
Returns NULL with a message if the optimized object has no saved probabilities.
Details
Saved visit-frequency estimates from older MH objects are returned unchanged with a warning; run a new optimization for weight-based results.
Multi-sample
For multi-sample gips objects, these are probabilities of the shared
permutation symmetry, calculated from the combined posterior used by
find_MAP().
See also
find_MAP()- Theget_probabilities_from_gips()is called on the output offind_MAP(return_probabilities = TRUE, save_all_perms = TRUE).vignette("Optimizers", package = "gips")or its pkgdown page - A place to learn more about the available optimizers.