You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like the ability to run gaussian mixture models using tidyclust. GMM allows clusters to be extracted assuming data is drawn from multiple gaussian distributions. Common implementations in R include the mclust
Fit and Prediction would work similar to kmeans, mclust produces both discrete classification (model$classification) and probabilities (a matrix: model$z)
Currently, parsnip does not allow custom-built unsupervised models. An alternative would be a similar framework in tidyclust that extends parsnip to allow this.
The text was updated successfully, but these errors were encountered:
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
Gaussian Mixture
I would like the ability to run gaussian mixture models using tidyclust. GMM allows clusters to be extracted assuming data is drawn from multiple gaussian distributions. Common implementations in R include the
mclust
Specification Example
gmm_spec <- gaussian_mixture() %>% parsnip::set_engine("Mclust")
Fit and Prediction would work similar to kmeans, mclust produces both discrete classification (
model$classification
) and probabilities (a matrix:model$z
)Fit and Predict Example
gmm_fit <- gmm_spec %>% fit(~ bill_length_mm + bill_depth_mm, data = penguins )
Currently,
parsnip
does not allow custom-built unsupervised models. An alternative would be a similar framework intidyclust
that extendsparsnip
to allow this.The text was updated successfully, but these errors were encountered: