Package: mixturemodelsr 0.1.20

Siva Rajesh Kasa
mixturemodelsr: R Wrapper for the Mixture-Models Python Library
First R package enabling mixture models for high-dimensional data through gradient-based optimization with Automatic Differentiation (AD). Provides an R interface to the 'Mixture-Models' Python package (Kasa et al., 2024) via reticulate. Unlike traditional EM-based approaches (e.g., mclust, flexmix), this package uses AD and gradient-based optimization (including second-order Newton-CG) to fit Gaussian Mixture Models (GMM), Mixture of Factor Analyzers (MFA), Parsimonious GMM (PGMM), MCLUST family, and t-mixture models without requiring stringent modeling constraints, making it suitable for high-dimensional settings where the number of parameters exceeds the sample size. Reference: Kasa, S. R., Yijie, H., Kasa, S. K., & Rajan, V. (2024). Mixture-Models: a one-stop Python Library for Model-based Clustering using various Mixture Models. arXiv preprint arXiv:2402.10229.
Authors:
mixturemodelsr_0.1.20.tar.gz
mixturemodelsr_0.1.20.zip(r-4.7)mixturemodelsr_0.1.20.zip(r-4.6)mixturemodelsr_0.1.20.zip(r-4.5)
mixturemodelsr_0.1.20.tgz(r-4.6-any)mixturemodelsr_0.1.20.tgz(r-4.5-any)
mixturemodelsr_0.1.20.tar.gz(r-4.7-any)mixturemodelsr_0.1.20.tar.gz(r-4.6-any)
mixturemodelsr_0.1.20.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
mixturemodelsr/json (API)
| # Install 'mixturemodelsr' in R: |
| install.packages('mixturemodelsr', repos = c('https://kasakh.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/kasakh/mixturemodelsr/issues
Last updated from:bf21e3d062. Checks:7 WARNING, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | WARNING | 124 | ||
| source / vignettes | OK | 173 | ||
| linux-release-x86_64 | WARNING | 122 | ||
| macos-release-arm64 | WARNING | 215 | ||
| macos-oldrel-arm64 | WARNING | 177 | ||
| windows-devel | WARNING | 119 | ||
| windows-release | WARNING | 108 | ||
| windows-oldrel | WARNING | 102 | ||
| wasm-release | OK | 108 |
Exports:mm_aicmm_bicmm_gmm_constrained_fitmm_gmm_fitmm_likelihoodmm_mclust_fitmm_mfa_fitmm_paramsmm_pgmm_fitmm_predictmm_py_infomm_python_availablemm_setupmm_tmm_fit
Dependencies:herejsonlitelatticeMatrixpngrappdirsRcppRcppTOMLreticulaterlangrprojrootwithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Compute AIC for fitted model | mm_aic |
| Compute BIC for fitted model | mm_bic |
| Fit a Constrained Gaussian Mixture Model | mm_gmm_constrained_fit |
| Fit a Gaussian Mixture Model (GMM) | mm_gmm_fit |
| Compute log-likelihood for fitted model | mm_likelihood |
| Fit an MCLUST Family Model | mm_mclust_fit |
| Fit a Mixture of Factor Analyzers (MFA) | mm_mfa_fit |
| Get parameter values from fit object | mm_params |
| Fit a Parsimonious Gaussian Mixture Model (PGMM) | mm_pgmm_fit |
| Predict cluster labels | mm_predict |
| Python Configuration Diagnostics | mm_py_info |
| Check if Python module is available | mm_python_available |
| Setup mixturemodelsr (user-friendly wrapper) | mm_setup |
| Fit a t-Mixture Model (TMM) | mm_tmm_fit |
| Print method for mm_fit objects | print.mm_fit |