Description Usage Arguments Value
Tidy a mixture model fit by ebb_fit_mixture
. tidy
returns
in the hyperparameters fit for each cluster, while glance
returns the
likelihood and other parameters for the full mixture.
1 2 3 4 5 6 7 8 |
x |
An ebb_mixture object, such as returned by |
... |
Extra arguments, not used |
data |
The original data that the mixture model was fit on |
tidy
returns a tbl_df with one row for each cluster,
with columns
cluster |
A character vector with cluster IDs |
alpha |
alpha shape parameter for this cluster |
beta |
beta shape parameter for this cluster |
mean |
alpha / beta, the mean of the beta distribution |
size |
Size of this cluster in the final assignments |
probability |
Prior probability of being in this cluster |
glance
returns a one-row data frame with columns:
iter |
Number of iterations |
logLik |
Log-likelihood of the model, given the final "hard" assignments to each cluster |
AIC |
AIC of the model |
BIC |
BIC of the model |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.