fangs: Feature Allocation Neighborhood Greedy Search Algorithm

A neighborhood-based, greedy search algorithm is performed to estimate a feature allocation by minimizing the expected loss based on posterior samples from the feature allocation distribution. The method is currently under peer review but an earlier draft is available in Dahl, Johnson, and Andros (2022+) <doi:10.48550/arXiv.2207.13824>.

Version: 0.2.13
Depends: R (≥ 4.2.0)
Published: 2023-07-17
DOI: 10.32614/CRAN.package.fangs
Author: David B. Dahl ORCID iD [aut, cre], R. Jacob Andros ORCID iD [aut], Devin J. Johnson ORCID iD [aut], Alex Crichton [cph] (Rust crates: proc-macro2, cfg-if.), Andrii Dmytrenko [cph] (Rust crate: lapjv.), Brendan Zabarauskas [cph] (Rust crate: approx.), David B. Dahl [cph] (Rust crates: roxido, roxido_macro.), David Tolnay [cph] (Rust crates: syn, proc-macro2, quote, unicode-ident.), DutchGhost [cph] (Rust crate: matrixmultiply.), Enthought, Inc. [cph] (Rust crate: ndarray.), Gilad Naaman [cph] (Rust crate: memoffset.), Jim Turner [cph] (Rust crate: ndarray.), Josh Stone [cph] (Rust crates: rayon, autocfg, rayon-core.), matrixmultiply authors [cph] (Rust crate: matrixmultiply.), Melissa O'Neill [cph] (Rust crate: rand_pcg.), ndarray developers [cph] (Rust crate: ndarray.), Niko Matsakis [cph] (Rust crates: rayon-core, rayon.), Paul Dicker [cph] (Rust crate: rand_pcg.), PCG Project contributors [cph] (Rust crate: rand_pcg.), Ralf Jung [cph] (Rust crate: memoffset.), rawpointer developers [cph] (Rust crate: rawpointer.), R. Janis Goldschmidt [cph] (Rust crate: matrixmultiply.), SciPy Developers [cph] (Rust crate: ndarray.), scopeguard developers [cph] (Rust crate: scopeguard.), Sean McArthur [cph] (Rust crate: num_cpus.), Stefan Lankes [cph] (Rust crate: hermit-abi.), The Cranelift Project Developers [cph] (Rust crate: wasi.), The Crossbeam Project Developers [cph] (Rust crates: crossbeam-utils, crossbeam-epoch, crossbeam-deque, crossbeam-channel.), The CryptoCorrosion Contributors [cph] (Rust crates: ppv-lite86, rand_chacha.), The Go Authors [cph] (Rust crate: crossbeam-channel.), The Rand Project Developers [cph] (Rust crates: rand_chacha, getrandom, rand_core, rand, rand_pcg.), The Rust Project Developers [cph] (Rust crates: quote, rayon, crossbeam-channel, rand, num-traits, getrandom, libc, rand_chacha, num-complex, num-integer, rand_core, log.), Ulrik Sverdrup "bluss" [cph] (Rust crate: scopeguard, matrixmultiply, either, rawpointer, itertools, ndarray.), Unicode, Inc. [cph] (Rust crate: unicode-ident.)
fangs author details
Maintainer: David B. Dahl <dahl at>
License: MIT + file LICENSE | Apache License 2.0
NeedsCompilation: yes
SystemRequirements: Cargo (Rust's package manager), rustc (>= 1.65)
CRAN checks: fangs results


Reference manual: fangs.pdf


Package source: fangs_0.2.13.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): fangs_0.2.13.tgz, r-oldrel (arm64): fangs_0.2.13.tgz, r-release (x86_64): fangs_0.2.13.tgz, r-oldrel (x86_64): fangs_0.2.13.tgz
Old sources: fangs archive


Please use the canonical form to link to this page.