summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-rferns/package.py
blob: 8dcaeff9c0ad5e4b6134a5d4957f3e12dcb1e2eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack.package import *


class RRferns(RPackage):
    """Random Ferns Classifier.

    Provides the random ferns classifier by Ozuysal, Calonder, Lepetit and Fua
    (2009) <doi:10.1109/TPAMI.2009.23>, modified for generic and multi-label
    classification and featuring OOB error approximation and importance measure
    as introduced in Kursa (2014) <doi:10.18637/jss.v061.i10>."""

    cran = "rFerns"

    version("5.0.0", sha256="78da671e18dc1fb499eddcc6db7eedd69cef673ba0b46c873bd95615cbb583fb")
    version("4.0.0", sha256="cc8cea0893390bf5db0fb0f59748d5bf6f29537d68bedca900268fd551489128")
    version("3.0.0", sha256="35e7e31a6497e415a0fe578678cf9b2f537b21319e4c015a1e2dade00310227c")