From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0OABIIRO+F4vfAAA0tVLHw (envelope-from ) for ; Sun, 28 Jun 2020 08:02:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yOrgG4RO+F47NgAA1q6Kng (envelope-from ) for ; Sun, 28 Jun 2020 08:02:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 10431940703 for ; Sun, 28 Jun 2020 08:02:12 +0000 (UTC) Received: from localhost ([::1]:41206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jpSGR-0000Px-1O for larch@yhetil.org; Sun, 28 Jun 2020 04:02:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpSGI-0000OU-Kq for guix-patches@gnu.org; Sun, 28 Jun 2020 04:02:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33580) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jpSGI-0001YQ-BN for guix-patches@gnu.org; Sun, 28 Jun 2020 04:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jpSGI-0007Od-8t for guix-patches@gnu.org; Sun, 28 Jun 2020 04:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42104] [PATCH 2/2] gnu: Add r-iml. Resent-From: Peter Lo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Jun 2020 08:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42104 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42104@debbugs.gnu.org Cc: Peter Lo Received: via spool by 42104-submit@debbugs.gnu.org id=B42104.159333130728403 (code B ref 42104); Sun, 28 Jun 2020 08:02:02 +0000 Received: (at 42104) by debbugs.gnu.org; 28 Jun 2020 08:01:47 +0000 Received: from localhost ([127.0.0.1]:45125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpSG3-0007O3-Hy for submit@debbugs.gnu.org; Sun, 28 Jun 2020 04:01:47 -0400 Received: from mail-pg1-f176.google.com ([209.85.215.176]:36202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpSG0-0007Nm-ED for 42104@debbugs.gnu.org; Sun, 28 Jun 2020 04:01:45 -0400 Received: by mail-pg1-f176.google.com with SMTP id p3so6925847pgh.3 for <42104@debbugs.gnu.org>; Sun, 28 Jun 2020 01:01:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=L45epKMM8TUAq0CT4KIFsIovd+rpTnYHwgeIHya0SRg=; b=afoNmKLl2UqctGyJLqthsnmTfIqBCVW61zoxgCpKFfL/tgK2l7fpZBg/NOufAjnc7z jY+H4FNmEWrFctV28L1ivD4FMzolrJgOHSAwGRHeYXe9XS6oXXlfXEq00zoSTU73e5m2 iC9/AJ5pe5R8EQ1zWwT/sJqjLOAa6wAPlTimordA5QpfXI5I27YJPlvaaofhxLncxGbS wmuCFdHK4kT/JMZkiXV/0oFVfH9VXQI3YJvNu9vMSB3VseIZDr+wNa0XDCWBlNuvUjsT Es5799Z+LIdB3ih55alH5ZeAQRX4OGrh/YiP4RGU/Kcq9tJbMHgxuvLNb0Bx4e81ryDr IwNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=L45epKMM8TUAq0CT4KIFsIovd+rpTnYHwgeIHya0SRg=; b=TXsOHcgDDVrcRGV7+eadApX4+9DqhxFnzSNQPoIIDYv9PCFsl6hcd7Qea4WjWNZjA4 IvOMK3P+xNWO+IU0v+lFLCpeI9xQ1XPAMpeyPN9MHyFQaLItbpMpRRRE3TPzxGWA17Bg X6Tdf1WHBdjWefZNiF5AG8XQQ3Ub9XaB0YA7eBGf5Rg6ESwBWsPZn5tm8iPIu7K6E8Il pp4VVcXRmu48q3wf+nwp5tcSIn9elWrL3h1QQj29gZVQdQkpt8CsQe1aL1V//p44tMK6 +hn4hkQI6qjeHSJ0x5YPjKOT6EDq6r0EVZSRH0M8goiXWf3rtcpuxTl9+RE32W9IZryS /S+g== X-Gm-Message-State: AOAM533HJwXmUHeSp0syC37+sUmb/n9iX6zirUrnrZshAZTD26+dpZQX kyHpL07w2EqEMB5MuAXFRaHKcCNPAcM= X-Google-Smtp-Source: ABdhPJzvhLLPPojuaId9R5B0hj8a7kZNO8DzjrQ+86FtIBlrV6ansm4IOv5llvgVBe8Xtdtxa8PUzA== X-Received: by 2002:a63:100b:: with SMTP id f11mr5578336pgl.287.1593331297941; Sun, 28 Jun 2020 01:01:37 -0700 (PDT) Received: from localhost.localdomain (059149170072.ctinets.com. [59.149.170.72]) by smtp.gmail.com with ESMTPSA id a16sm25647820pgj.27.2020.06.28.01.01.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jun 2020 01:01:37 -0700 (PDT) From: Peter Lo Date: Sun, 28 Jun 2020 16:01:18 +0800 Message-Id: <20200628080118.9269-2-peterloleungyau@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200628080118.9269-1-peterloleungyau@gmail.com> References: <20200628080118.9269-1-peterloleungyau@gmail.com> X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=afoNmKLl; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 1.09 X-TUID: 6R0az98F8Gq1 * gnu/packages/cran.scm (r-iml): 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 ec290d4b69..12fc3fa011 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -22349,3 +22349,45 @@ regression, time series, binary classification, classification, and information retrieval problems. It has zero dependencies and a consistent, simple interface for all functions.") (license license:bsd-3))) + +(define-public r-iml + (package + (name "r-iml") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "iml" version)) + (sha256 + (base32 + "0xm3q42qahq798ilgg050df0mahhbdfd3fx3i7cpx606h38si0x7")))) + (properties `((upstream-name . "iml"))) + (build-system r-build-system) + (propagated-inputs + `(("r-checkmate" ,r-checkmate) + ("r-data-table" ,r-data-table) + ("r-formula" ,r-formula) + ("r-future" ,r-future) + ("r-future-apply" ,r-future-apply) + ("r-ggplot2" ,r-ggplot2) + ("r-gridextra" ,r-gridextra) + ("r-metrics" ,r-metrics) + ("r-prediction" ,r-prediction) + ("r-r6" ,r-r6))) + (native-inputs `(("r-knitr" ,r-knitr))) + (home-page "https://github.com/christophM/iml") + (synopsis "Interpretable Machine Learning") + (description + "Interpretability methods to analyze the behavior and +predictions of any machine learning model. Implemented methods are: +Feature importance described by Fisher et al. (2018) +, accumulated local effects plots described by +Apley (2018) , partial dependence plots described by +Friedman (2001) , individual +conditional expectation ('ice') plots described by Goldstein et +al. (2013) , local models (variant +of 'lime') described by Ribeiro et. al (2016) , the +Shapley Value described by Strumbelj et. al (2014) +, feature interactions described by +Friedman et. al and tree surrogate models.") + (license license:expat))) -- 2.17.1