Package: fda.vi 1.0.0
fda.vi: Functional Data Analysis using Variational Inference
Implements a variational Expectation-Maximization (VEM) algorithm for smoothing one or multiple functional observations via basis function selection. The algorithm estimates all model parameters simultaneously and automatically, while accounting for within-curve correlation. The approach provides a flexible and computationally efficient framework for smoothing correlated functional data. The algorithm is described in da Cruz, A. C., de Souza, C. P., and Sousa, P. H. (2024). 'Fast Bayesian basis selection for functional data representation with correlated errors.' <doi:10.48550/arXiv.2405.20758>.
Authors:
fda.vi_1.0.0.tar.gz
fda.vi_1.0.0.tar.gz(r-4.7-any)fda.vi_1.0.0.tar.gz(r-4.6-any)
fda.vi_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
fda.vi/json (API)
| # Install 'fda.vi' in R: |
| install.packages('fda.vi', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/desouzalab/fda.vi/issues
- toy_curves - Toy Simulated Functional Dataset
Last updated from:df608237a8. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 133 | ||
| source / vignettes | OK | 227 | ||
| linux-release-x86_64 | OK | 127 | ||
| wasm-release | OK | 113 |
Exports:gcv_vemtune_vem_by_gcvvem_fitvem_smooth
Dependencies:ashbitopscliclustercolorspacecpp11deSolvefarverfdafdsFNNggplot2gluegtablehdrcdeisobandkernlabKernSmoothkslabelinglatticelifecyclelocfitMASSMatrixmclustmgcvmulticoolmvtnormnlmepcaPPpracmaR6rainbowRColorBrewerRcppRCurlrlangS7scalesvctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Extract Active Basis Coefficients from a VEM Fit | coef.vem_fit |
| GCV Score for a VEM Smooth Fit | gcv_vem |
| Plot a VEM Fit with Credible Band | plot.vem_fit |
| Predict Method for VEM Fits | predict.vem_fit |
| Summary Method for VEM Fits | summary.vem_fit |
| Toy Simulated Functional Dataset | toy_curves |
| Tune Basis Complexity via GCV | tune_vem_by_gcv |
| Fit a VEM Smooth Model | vem_fit |
| Variational EM Algorithm for Bayesian Basis Function Selection | vem_smooth |
