blob: 9cd579e87a0f83d83727bb5dcd5485596406a34f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright 2013-2023 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 RAls(RPackage):
"""Multivariate Curve Resolution Alternating Least Squares (MCR-ALS).
Alternating least squares is often used to resolve components contributing
to data with a bilinear structure; the basic technique may be extended to
alternating constrained least squares. Commonly applied constraints
include unimodality, non-negativity, and normalization of components.
Several data matrices may be decomposed simultaneously by assuming that one
of the two matrices in the bilinear decomposition is shared between
datasets."""
cran = "ALS"
version("0.0.7", sha256="57a195e8c5a3d856cd543c99ae532cc25c83b3b444f513b74447bf4a72378da0")
version("0.0.6", sha256="ca90d27115ae9e476967f521bf6935723e410a3bf92477e7570e14bfd3b099eb")
depends_on("r@2.10:", type=("build", "run"))
depends_on("r-iso", type=("build", "run"))
depends_on("r-nnls@1.1:", type=("build", "run"))
|