From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: Ben Woodcroft <donttrustben@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add r-glmnet.
Date: Thu, 30 Jun 2016 14:42:53 +0200 [thread overview]
Message-ID: <idjziq2vodu.fsf@bimsb-sys02.mdc-berlin.net> (raw)
In-Reply-To: <20160630014444.28656-1-donttrustben@gmail.com>
Ben Woodcroft <donttrustben@gmail.com> writes:
> * gnu/packages/statistics.scm (r-glmnet): New variable.
> ---
> gnu/packages/statistics.scm | 26 ++++++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
>
> diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
> index f037392..732d874 100644
> --- a/gnu/packages/statistics.scm
> +++ b/gnu/packages/statistics.scm
> @@ -2244,6 +2244,32 @@ singular and eigenvalue decompositions, as well as for principal component
> analysis of large sparse or dense matrices.")
> (license (list license:gpl2+ license:gpl3+))))
>
> +(define-public r-glmnet
> + (package
> + (name "r-glmnet")
> + (version "2.0-5")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (cran-uri "glmnet" version))
> + (sha256
> + (base32
> + "1cbpzmbv837fvq88rgn6mgzgr9f1wqp9fg8gh2kkmngvr1957a9c"))))
> + (build-system r-build-system)
> + (inputs
> + `(("gfortran" ,gfortran)))
> + (propagated-inputs
> + `(("r-foreach" ,r-foreach)))
> + (home-page "http://www.jstatsoft.org/v33/i01")
> + (synopsis "Lasso and Elastic-Net Regularized Generalized Linear Models")
Does this need to be all caps?
> + (description
> + "The glmnet package provides efficient procedures for fitting the entire
> +lasso or elastic-net regularization path for linear and Poisson regression, as
> +well as logistic, multinomial, Cox, multiple-response Gaussian and grouped
> +multinomial models. The algorithm uses cyclical coordinate descent in a
> +path-wise fashion.")
> + (license license:gpl2+)))
The rest looks good to me. Thanks!
~~ Ricardo
next prev parent reply other threads:[~2016-06-30 12:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-30 1:44 [PATCH] gnu: Add r-glmnet Ben Woodcroft
2016-06-30 12:42 ` Ricardo Wurmus [this message]
2016-06-30 23:08 ` Ben Woodcroft
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=idjziq2vodu.fsf@bimsb-sys02.mdc-berlin.net \
--to=ricardo.wurmus@mdc-berlin.de \
--cc=donttrustben@gmail.com \
--cc=guix-devel@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).