From patchwork Wed Jun 19 10:46:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Navid Afkhami X-Patchwork-Id: 65491 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2C0C527BBE2; Wed, 19 Jun 2024 11:49:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 76A0127BBE9 for ; Wed, 19 Jun 2024 11:49:13 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJssA-0000TY-6I; Wed, 19 Jun 2024 06:49:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sJss7-0000T4-PL for guix-patches@gnu.org; Wed, 19 Jun 2024 06:48:59 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sJss7-0002OL-GU for guix-patches@gnu.org; Wed, 19 Jun 2024 06:48:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sJssA-0000p3-Ht for guix-patches@gnu.org; Wed, 19 Jun 2024 06:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71647] [PATCH] gnu: Add r-cutpointr. Resent-From: "Afkhami, Navid" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Jun 2024 10:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71647 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71647@debbugs.gnu.org Cc: "Afkhami, Navid" X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.17187941093103 (code B ref -1); Wed, 19 Jun 2024 10:49:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Jun 2024 10:48:29 +0000 Received: from localhost ([127.0.0.1]:39678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJsrd-0000nz-2G for submit@debbugs.gnu.org; Wed, 19 Jun 2024 06:48:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:44172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJsra-0000nq-U8 for submit@debbugs.gnu.org; Wed, 19 Jun 2024 06:48:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sJsrX-0000Lb-ED for guix-patches@gnu.org; Wed, 19 Jun 2024 06:48:23 -0400 Received: from a2062.mx.srv.dfn.de ([194.95.232.172]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sJsrV-0002Kd-0l for guix-patches@gnu.org; Wed, 19 Jun 2024 06:48:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:content-transfer-encoding:mime-version :x-mailer:message-id:date:date:subject:subject:from:from :received; s=mdc; t=1718794089; x=1720608490; bh=RcepiTdUIMMOx5w Wtc4jo3oZS/TEAXGNRpfxQPZJd8k=; b=HojeJVjdIxdeWYNLAlbjN+REohRJ1u7 QxwShhLpeuGhqujjPHmZQpSN12p5lWdtnsOEz/3qO7HI21b+JPNtnGRw4+8uumr6 8jbIRdCRMMxFGuLv05w+Xiec5Yw90Xliw4ZzIRqnFNLwn+SCU5J3IxG9DizZ8gir rOEmL+wYng4k= Received: from SW-IT-P-EX4.mdc-berlin.net (mgw4.mdc-berlin.de [141.80.113.62]) by a2062.mx.srv.dfn.de (Postfix) with ESMTPS id E8495A0142 for ; Wed, 19 Jun 2024 12:48:08 +0200 (CEST) Received: from localhost (141.80.218.27) by SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Wed, 19 Jun 2024 12:48:07 +0200 From: "Afkhami, Navid" Date: Wed, 19 Jun 2024 10:46:37 +0000 Message-ID: <771ef1935d7fa161da2ee81c735ddc8925c0dae2.1718793996.git.Navid.Afkhami@mdc-berlin.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [141.80.218.27] X-ClientProxiedBy: SW-IT-P-EX2.mdc-berlin.net (141.80.113.60) To SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) X-TM-AS-Product-Ver: SMEX-14.0.0.3152-9.1.2019-28462.007 X-TM-AS-Result: No-10--5.034400-5.000000 X-TMASE-MatchedRID: /+von0vPuFEEZ1mm50iAbnOjEKYddvv63O2+pOfl+vcwLJ9PZUBQhdqK Kei3fK/BuP2uihwIy0iu5Y9WGrdMHhV9IJL+D0rbju2XlcEx9HQIyIQE9neGFUEwlAH/PleezEm A+OOzl5GyDWuvu/0vCUQIPpUe12Ds8CsHqdsq1hfYeXOEzfM22Vztkif7r1iVcilEE+Pje89Vzq jGDXmIZrZE1GIgBbjG6sCS8JaN68UIAb4GlIQrNM9AKylOcRuM9BqKgadDyLw= X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--5.034400-5.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.2019-28462.007 X-TM-SNTS-SMTP: 74E034047651F2BA8E16003BFB128169BC0DE57EB7092F4EFB89FCFE0CC7085C2000:F Received-SPF: pass client-ip=194.95.232.172; envelope-from=Navid.Afkhami@mdc-berlin.de; helo=a2062.mx.srv.dfn.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/cran.scm (r-cutpointr): New variable. Change-Id: I60e578fab1e251a526d90ce25dd1c3fc7ec4409d --- gnu/packages/cran.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) base-commit: da1f3aff2ea9a98651ebc69c8385ba136fe2e325 diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 85e0fa98f9..83f395a69e 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -704,6 +704,40 @@ (define-public r-curry etc.") (license license:gpl2+))) +(define-public r-cutpointr + (package + (name "r-cutpointr") + (version "1.1.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "cutpointr" version)) + (sha256 + (base32 "1qxnh20hs3bh9v04ls7gwwl7lfc6bwl8c88dn8lkcdqyp3nyr01j")))) + (properties `((upstream-name . "cutpointr"))) + (build-system r-build-system) + (propagated-inputs (list r-dplyr + r-foreach + r-ggplot2 + r-gridextra + r-purrr + r-rcpp + r-rlang + r-tibble + r-tidyr + r-tidyselect)) + (native-inputs (list r-knitr)) + (home-page "https://github.com/thie1e/cutpointr") + (synopsis "Determine and evaluate optimal cutpoints in binary") + (description + "This package estimates optimal cutpoints for binary classification metrics. +It also validates performance using bootstrapping. Some methods for more +robust cutpoint estimation are supported, e.g. a parametric method assuming +normal distributions, bootstrapped cutpoints, and smoothing of the metric +values per cutpoint using Generalized Additive Models. Various plotting +functions are included.") + (license license:gpl3))) + (define-public r-datawizard (package (name "r-datawizard")