unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Mădălin Ionel Patrașcu" <madalinionel.patrascu@mdc-berlin.de>
To: 55241@debbugs.gnu.org
Subject: [bug#55241] [PATCH 3/4] gnu: Add r-smurf.
Date: Tue, 3 May 2022 08:53:10 +0200	[thread overview]
Message-ID: <20220503065311.9192-3-madalinionel.patrascu@mdc-berlin.de> (raw)
In-Reply-To: <20220503065311.9192-1-madalinionel.patrascu@mdc-berlin.de>

* gnu/packages/cran.scm (r-smurf): New variable.
---
 gnu/packages/cran.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 63e2b71cd3..099bfb8002 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -5907,6 +5907,48 @@ (define-public r-sm
 and density estimation")
     (license license:gpl2+)))
 
+(define-public r-smurf
+  (package
+    (name "r-smurf")
+    (version "1.1.2")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "smurf" version))
+              (sha256
+               (base32
+                "00q54pg42anilhcshhjvv277mkszbpzpkf1g7srs7cjd5skjvsaf"))))
+    (properties `((upstream-name . "smurf")))
+    (build-system r-build-system)
+    (propagated-inputs
+     (list r-catdata
+           r-glmnet
+           r-mass
+           r-matrix
+           r-mgcv
+           r-rcolorbrewer
+           r-rcpp
+           r-rcpparmadillo
+           r-speedglm))
+    (native-inputs (list r-knitr))
+    (home-page "https://gitlab.com/TReynkens/smurf")
+    (synopsis "Sparse multi-type regularized feature modeling")
+    (description
+     "The @code{smurf} package contains the implementation of the @dfn{Sparse
+Multi-type Regularized Feature} (SMuRF) modeling algorithm to fit
+@dfn{generalized linear models} (GLMs) with multiple types of predictors via
+regularized maximum likelihood.  Next to the fitting procedure, following
+functionality is available:
+
+@itemize @bullet
+@item
+Selection of the regularization tuning parameter lambda using three different
+approaches: in-sample, out-of-sample or using cross-validation.
+@item
+S3 methods to handle the fitted object including visualization of the coefficients
+and a model summary.
+@end itemize")
+    (license license:gpl2+)))
+
 (define-public r-venndiagram
   (package
     (name "r-venndiagram")
-- 
2.36.0





  parent reply	other threads:[~2022-05-03  6:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-03  6:53 [bug#55239] [PATCH 1/4] gnu: Add r-forestplot Mădălin Ionel Patrașcu
2022-05-03  6:53 ` [bug#55238] [PATCH 2/4] gnu: Add r-catdata Mădălin Ionel Patrașcu
2022-10-31 19:12   ` Ricardo Wurmus
2022-05-03  6:53 ` Mădălin Ionel Patrașcu [this message]
2022-05-03  6:53 ` [bug#55240] [PATCH 4/4] gnu: Add r-airpart Mădălin Ionel Patrașcu
2022-10-31 19:10 ` bug#55239: [PATCH 1/4] gnu: Add r-forestplot Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220503065311.9192-3-madalinionel.patrascu@mdc-berlin.de \
    --to=madalinionel.patrascu@mdc-berlin.de \
    --cc=55241@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).