Package: fdclassify 0.1.0

Diego Andrés Pérez Ruiz
fdclassify: Supervised Classification for Functional Data via Signed Depth
Provides a suite of supervised classifiers for functional data based on the concept of signed depth. The core pipeline computes Fraiman-Muniz (FM) functional depth in either its Tukey or Simplicial variant, derives a signed depth by comparing each curve to a reference median curve via the signed distance integral, and feeds the resulting scalar summary into several classifiers: the k-Ranked Nearest Neighbour (k-RNN) rule, a moving-average smoother, a kernel-density Bayes rule, logistic regression on signed depth and distance to the mode, and a generalised additive model (GAM) classifier. Cross-validation routines for tuning the neighbourhood size k and parametric bootstrap confidence intervals are also included.
Authors:
fdclassify_0.1.0.tar.gz
fdclassify_0.1.0.tar.gz(r-4.7-any)fdclassify_0.1.0.tar.gz(r-4.6-any)
fdclassify_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
fdclassify/json (API)
| # Install 'fdclassify' in R: |
| install.packages('fdclassify', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/dapr12/fdclassify/issues
Last updated from:76e1e87fbc. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 121 | ||
| source / vignettes | OK | 143 | ||
| linux-release-x86_64 | OK | 114 | ||
| wasm-release | OK | 111 |
Exports:bayes_depth_classifyfm_depthgam_depth_classifykrnn_cvkrnn_fitkrnn_smootherlogistic_depth_classifyplot_krnn_cvplot_krnn_smootherreference_curvesigned_depthsigned_distance_integralsimulate_fd
Dependencies:clueclusterfBasicsgsslatticeMASSMatrixmgcvmodeestnlmermutilrpartspatialstablestablediststatiptimeDatetimeSeries
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Bayesian Kernel-Density Classifier on Signed Depth | bayes_depth_classify print.fd_bayes_fit |
| Fraiman-Muniz Functional Depth | fm_depth |
| GAM Classifier on Signed Depth | gam_depth_classify print.fd_gam_fit |
| Cross-Validation for k-RNN Neighbourhood Size | krnn_cv print.krnn_cv |
| k-Ranked Nearest Neighbour Classifier for Functional Data | krnn_fit print.krnn_fit |
| k-RNN Moving-Average Smoother | krnn_smoother |
| Logistic Regression Classifier on Signed Depth | logistic_depth_classify print.fd_logistic_fit |
| Plot a krnn_cv Object | plot_krnn_cv |
| Plot a krnn_smoother Object | plot_krnn_smoother |
| Predict Method for krnn_fit Objects | predict.krnn_fit |
| Reference (Median) Curve | reference_curve |
| Signed Depth | print.fd_signed_depth signed_depth |
| Signed Distance Integral | signed_distance_integral |
| Simulate a Two-Group Functional Dataset | simulate_fd |