spack/var/spack/repos/builtin/packages/r-rferns/package.py
Harmen Stoppels 7b9f8abce5
Add depends_on([c,cxx,fortran]) (#45217)
Add language dependencies `c`, `cxx`, and `fortran`.

These `depends_on` statements are auto-generated based on file extensions found
in source tarballs/zipfiles.

The `# generated` comment can be removed by package maintainers after
validating correctness.
2024-07-17 16:07:43 +02:00

24 lines
946 B
Python

# 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")
depends_on("c", type="build") # generated