From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kei Kebreau Subject: Re: [PATCH] gnu: Add r-randomforest. Date: Fri, 03 Feb 2017 12:36:00 -0500 Message-ID: <87bmujjhxb.fsf@openmailbox.org> References: <20170203075520.4717-1-ilpuccio.febo@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cZhnf-0003hr-Kd for guix-devel@gnu.org; Fri, 03 Feb 2017 12:37:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cZhnb-0006KM-PN for guix-devel@gnu.org; Fri, 03 Feb 2017 12:37:31 -0500 Received: from lb1.openmailbox.org ([5.79.108.160]:36974) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cZhnb-0006Ig-G2 for guix-devel@gnu.org; Fri, 03 Feb 2017 12:37:27 -0500 In-Reply-To: <20170203075520.4717-1-ilpuccio.febo@gmail.com> (Raoul Bonnal's message of "Fri, 3 Feb 2017 08:55:20 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Raoul Bonnal Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Raoul Bonnal writes: > From: Raoul Jean Pierre Bonnal > > * gnu/packages/statistics.scm (r-randomforest): New variable. > --- > gnu/packages/statistics.scm | 24 +++++++++++++++++++++++- > 1 file changed, 23 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm > index 596c2baf5..de934ff08 100644 > --- a/gnu/packages/statistics.scm > +++ b/gnu/packages/statistics.scm > @@ -6,7 +6,7 @@ > ;;; Copyright =C2=A9 2016 Pjotr Prins > ;;; Copyright =C2=A9 2016 Roel Janssen > ;;; Copyright =C2=A9 2016 Ben Woodcroft > -;;; Copyright =C2=A9 2016 Raoul Bonnal > +;;; Copyright =C2=A9 2017 Raoul Bonnal You don't have to remove the old copyright statement. Just add the current year to the list, like so: ;;; Copyright =C2=A9 2016, 2017 Raoul Bonnal > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -4145,3 +4145,25 @@ regression.") > perform @dfn{independent component analysis} (ICA) and projection pursui= t.") > ;; Any GPL version. > (license license:gpl3+))) > + > +(define-public r-randomforest > + (package > + (name "r-randomforest") > + (version "4.6-12") > + (source > + (origin > + (method url-fetch) > + (uri (cran-uri "randomForest" version)) > + (sha256 > + (base32 > + "1i43idaihhl6nwqw42v9dqpl6f8z3ykcn2in32lh2755i27jylbf")))) > + (properties `((upstream-name . "randomForest"))) > + (build-system r-build-system) > + (home-page "https://www.stat.berkeley.edu/~breiman/RandomForests/") > + (native-inputs > + `(("gfortran" ,gfortran))) > + (synopsis "Breiman and Cutler's random forests for classification an= d regression") > + (description > +"This package provides algorithm for classification and regression > based on a forest This package provides "an algorithm" or "algorithms"? > +of trees using random inputs.") > + (license license:gpl2+))) This patch will be good with the above changes. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAliUv4EACgkQ5qXuPBlG eg0YQA//Sn3mT7JH9Qnfr6WBjqzMmvn3I8vo6ezad0is5Zey6DYlDVqGm5wdOLxy kR/qFFQUTSXjr3nQ3P8lYRH3ggzAFcgmSN1eUUdXGi0NEyCBanujDWHc38YiW085 tzB3naDMHXrJGlStJDmbFpzvleFljN6xZzxqWMupU60kn1Mhzj6eoMZbZ5x7wgIi XD4EO52YK/cnwjW2Oppl2X/CEwmrpcDuTjrCppDuGfIPXBp/Spjh2lO201JVhOcU G5EAzsXUQ9zoAi/QOv/f7pr5BmBDNkRDglspCsyO6qPT1PxWrg4JkCtTVAw3aBuK hzuNqyM76GtowLtI8St1YCyS9obXiCHEWNozfPLWhgZqZxZNeauymd3JTqXdRM9E LfDew+Qhs6Y4QkZFVEzHIQqC60VVR6eTB4M6WF0YB/xjDozC16f9XaPwnxo3xVtb yOLCylv6Q8IeOZ808p4b9rVU2CJiu31mZHnf8xGN50xR4CxNiuruQ1q8OOyofjVR QwDW2F/8yX6fYjMQ9rCU4/+zd1hp6UykC1T20PxymnW12YqL40tMJ+Fgnr51TDej o41yAmfeRDX1GJSTawH1Q9Yx1op1udEsDpPtosg5nkcyR+y7j2V0BOwWNpq5IF6w WRz9zhINI266HhjMY/GXPX0AmOrc8yA3rUAIhrjvMn5SlX7tc6A= =JoqK -----END PGP SIGNATURE----- --=-=-=--