asymptotic_partition_function | R Documentation |
Compute the asymptotic approximation of the logarithm of the partition function, using the iteration algorithm of \insertCitemukherjee2016;textualBayesMallows.
asymptotic_partition_function(
alpha_vector,
n_items,
metric,
K,
n_iterations = 1000L,
tol = 1e-09
)
alpha_vector |
A numeric vector of alpha values. |
n_items |
Integer specifying the number of items. |
metric |
One of |
K |
Integer. |
n_iterations |
Integer specifying the number of iterations. |
tol |
Stopping criterion for algorithm. The previous matrix is subtracted
from the updated, and if the maximum absolute relative difference is below |
A vector, containing the partition function at each value of alpha.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.