yaap
1.0.0A Toolkit for Archetypal Analysis Methods
Overview
Fits archetypal analysis models, including Euclidean, probabilistic, kernel, and directional variants. Methods include classical archetypal analysis from Cutler and Breiman (1994) doi:10.1080/00401706.1994.10485840, PCHA and kernel variants from Mørup and Hansen (2012) doi:10.1016/j.neucom.2011.06.033, probabilistic archetypal analysis from Seth and Eugster (2016) doi:10.1007/s10994-015-5498-8, directional archetypal analysis from Olsen et al. (2022) doi:10.3389/fnins.2022.911034, AA++ initialization from Mair and Sjölund (2023) doi:10.48550/arXiv.2301.13748, coreset-style initialization from Mair and Brefeld (2019) https://proceedings.neurips.cc/paper_files/paper/2019/file/7f278ad602c7f47aa76d1bfc90f20263-Paper.pdf, and adapted AIC from Suleman (2017) doi:10.1109/FUZZ-IEEE.2017.8015385. Provides initialization helpers, model selection paths, plotting methods, 'broom' methods, and a 'tidymodels' recipe step.
Install
Health
- OK2026-06-088 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 97%
- Return-value docs
- 100%
- References docs
- 27%
Downloads
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 2.0 median / 31 max
- Test cases
- 190 / 0.44 per code line
Test coverage
Line coverage
86%
Expression
83.9%
Tests / Examples
86.1% / – ex
Functions
261 22 exported
Complexity
4.1 avg / 31 max
Call network
261 nodes / 402 edges
Call graph
Open call graph →Lowest coverage
261 functions| Function | Cyclo | Coverage |
|---|---|---|
| .aa_feature_map_transform.kernel_feature_map | 1 | 0% |
| .aa_feature_map_transform.unsupported_feature_map | 1 | 0% |
| .aa_kernel_kpca | 1 | 0% |
| .aa_pdist_manhattan | 3 | 0% |
| .aa_sym_eigen | 3 | 0% |
| AIC.kernel_archetypes | 1 | 0% |
People & History
1 release. R releases are shown for context.
- 1.0.0Latest2026-06-08 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-06-08
- Total releases
- 1 / 1 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.1.0
- Download size
- not tracked yet
- Installed size
- not tracked yet
- With dependencies
- not tracked yet