From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eE7REhybT2fpWwAAqHPOHw:P1 (envelope-from ) for ; Tue, 03 Dec 2024 23:58:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id eE7REhybT2fpWwAAqHPOHw (envelope-from ) for ; Wed, 04 Dec 2024 00:58:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=CpPqeDYc; dkim=fail ("headers rsa verify failed") header.d=antr.me header.s=zmail header.b=BA8XYTnR; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733270299; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=/3ORisjCV/fooTFTL0Uk1zUdBIdyVtBw1VhGSDLwnLE=; b=DzKRT/oBo584hC4kewk5sZOzohWQQuKUyrnYnpTt0i/o72Ucqm0sZppl0l/qOS+WUZMmlb Ts+C1Htct6bd/+S2abTwKltUL9h3txQ8YTBNEAgjJapR2CdL/caf2GCQn9gW4M3n+KkBMg cLr+QsQGDKpPOkOew0yoV1amnS2E2eKi0G6JMdE+76lASncUHZ0vICLoQsTQac+bbOB/DV 2cTBewXpngCpr7kMnAsrNJ6Vyzy1KokZHsK/7tFD3JvYHjiYphpo7ON5uSQCgT8Elq5Y55 MkLn4jrHiYn2SbT36EYWTNvK2U2LTfL34PpgtJBJmJ7ULqDp/SxQ15KbZPM1kQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=CpPqeDYc; dkim=fail ("headers rsa verify failed") header.d=antr.me header.s=zmail header.b=BA8XYTnR; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1733270299; a=rsa-sha256; cv=fail; b=WYg8ViMfv+rOdycXI84QY4Q2bPvCVl10ADSGF0YqTbaUho/uYLC76VO3ORgjzXoNXfj3BR OCTPF3gFSN0kMTztonorDkxY6ysZVdCh6Hs+/EMx0RihpjA69YyltqjNgP0B2gtRYcW4z9 TmGxSS9e3ODDQJl1nP2dnwn+iGocxpvlTjZ4WrGeQMClq5fH/c6cLQX+3MvTt9HfwlDRjF vAu7GelTluYr5ZPYmGoqveN8PwojZxYxafO8Ue0ZCUSW9dztDJSDBzUDCmD8VRuS2Vd0cs +JdvjQ3A7+IylbkVrgXIau2DqBqSh8QSoDA/AVK+Jm5+LSMtJZalbIoy23rjGA== 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 6C25F837F7 for ; Wed, 04 Dec 2024 00:58:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIcmL-0005Zq-7g; Tue, 03 Dec 2024 18:58:05 -0500 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 1tIcmJ-0005Yt-I4 for guix-patches@gnu.org; Tue, 03 Dec 2024 18:58:03 -0500 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 1tIcmJ-0003rK-8V for guix-patches@gnu.org; Tue, 03 Dec 2024 18:58:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=/3ORisjCV/fooTFTL0Uk1zUdBIdyVtBw1VhGSDLwnLE=; b=CpPqeDYcaf6Q066Z8nUpS9CBTIYIv72Om9ktYyw6kjAbX9yOooJe8W1Q0garBGsqxqKUb+hKprgSQ7tvB7Ioxsgd5hS4p+gUOUo4Hv0T7956+b5Tttr3YyNdJaJjJU/E5dJB7E3nqKzWkHyq6bAjsI4Y+3h3BvLz4EJK+WKlIzTVkbFg07EZ3SB5APQQlFI3tijpUeOrHXJEb6r8lxkxiTTkA3iR3tDbA+lvXgAznfuxy+5jzbsnIuvafBlvpCajHA4jrsP2C4/XZDTB7C9P8xgQW7LoSGpTp79Klh3ddbyTSBh/JZsy3hStz2t1noKRltFDYkXLVDQt+VNKfOJIMA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tIcmI-0003ht-MJ for guix-patches@gnu.org; Tue, 03 Dec 2024 18:58:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74680] [PATCH] gnu: Add python-scikit-surprise. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 Dec 2024 23:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74680 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74680@debbugs.gnu.org Cc: sharlatanus@gmail.com, me@bonfacemunyoki.com, lars@6xq.net, jgart@dismail.de, marius@gnu.org, tanguy@bioneland.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173327022814161 (code B ref -1); Tue, 03 Dec 2024 23:58:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Dec 2024 23:57:08 +0000 Received: from localhost ([127.0.0.1]:33369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIclP-0003gL-Ly for submit@debbugs.gnu.org; Tue, 03 Dec 2024 18:57:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:51474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIclN-0003gD-FD for submit@debbugs.gnu.org; Tue, 03 Dec 2024 18:57:06 -0500 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 1tIclM-0005Um-PG for guix-patches@gnu.org; Tue, 03 Dec 2024 18:57:05 -0500 Received: from sender4-op-o15.zoho.com ([136.143.188.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tIclJ-0003e4-DA; Tue, 03 Dec 2024 18:57:03 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1733270211; cv=none; d=zohomail.com; s=zohoarc; b=gFQVXLRrwlyIDl6L72x5GVJzdyUgKp+pAfPmzWM9Ug0d9BpGTd3/edCPt2STjSjtwLrTvx3QeXu1KDek26YEzZMebObMtlVNTq1MZ0EbHHL8rFY9GZObfV8UI+R4T6BUfwQAQFah+qNHAaIHucTcM2DSIwg2rSpVlGGYUeoHAUQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1733270211; h=Content-Type:Cc:Cc:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=/3ORisjCV/fooTFTL0Uk1zUdBIdyVtBw1VhGSDLwnLE=; b=IKOcngkfMcI0+qM+Mjmnj9/NAqRC8i3Rvb78hXMyoCbnO1vIgITkQNsglWI3unMXTJe4IJXowmp8HNgbDn68WTsjwpIXcpgZ/PBRaI6btwyWcQRabaDffts+SPnf8r4XD0IFxLzQeVsfOH11cl9XKVQ82Tx0rjMaEMQRjGNjqvI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=antr.me; spf=pass smtp.mailfrom=mail@antr.me; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1733270211; s=zmail; d=antr.me; i=mail@antr.me; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To; bh=/3ORisjCV/fooTFTL0Uk1zUdBIdyVtBw1VhGSDLwnLE=; b=BA8XYTnRYBSc3nnaMqw+RlSqPFghIevJVI2iAzP1ui5J/TtjOvz0i/sGcqv2ojJm kgHBrAOyIyabj3UCOZ53MC+lTsXvB461ZSZmcJP8Zbn2puCoFttiFd+dlr9r9i4A7p1 FmCMCr5sV2NTtidrGFB701vPfNiE3yo7feS+EkLA= Received: by mx.zohomail.com with SMTPS id 17332702085081020.9002550815097; Tue, 3 Dec 2024 15:56:48 -0800 (PST) From: Antero Mejr Date: Tue, 03 Dec 2024 18:56:45 -0500 Message-ID: <877c8gjp6q.fsf@antr.me> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.15; envelope-from=mail@antr.me; helo=sender4-op-o15.zoho.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_SBL_A=0.1 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -3.73 X-Spam-Score: -3.73 X-Migadu-Queue-Id: 6C25F837F7 X-TUID: i5NHM/i5QnYw * gnu/packages/python-science.scm (python-scikit-surprise): New variable. Change-Id: I9b5e13f0c985f34bb0bd759e76ebd27221a340a4 --- gnu/packages/python-science.scm | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index ef6d529ffd..10bc4a249f 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -600,6 +600,44 @@ (define-public python-scikit-optimize @code{skopt} aims to be accessible and easy to use in many contexts.") (license license:bsd-3))) +(define-public python-scikit-surprise + (package + (name "python-scikit-surprise") + (version "1.1.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/NicolasHug/Surprise") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "15ckx2i41vs21sa3yqyj12zr0h4zrcdf3lrwcy2c1cq2bjq7mnvz")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (add-before 'check 'change-home-dir + (lambda _ + ;; Change from /homeless-shelter to /tmp for write + ;; permission. + (setenv "HOME" "/tmp")))))) + (native-inputs (list python-cython python-pandas python-pytest)) + (propagated-inputs (list python-joblib python-numpy python-scikit-learn)) + (home-page "https://surpriselib.com/") + (synopsis "Recommender system library for Scikit-learn") + (description "This package provides a Python library for building and +analyzing recommender systems that deal with explicit rating data. It was +designed with the following purposes in mind: +@itemize +@item Provide tools to handle downloaded or user-provided datasets. +@item Provide ready-to-use prediction algorithms and similarity measures. +@item Provide a base for creating custom algorithims. +@item Provide tools to evaluate, analyse and compare algorithm performance. +@item Provide documentation with precise details regarding library algorithms. +@end itemize") + (license license:bsd-3))) + (define-public python-scikit-survival (let ((revision "1") ;; We need a later commit for support of a more recent sklearn and base-commit: 9001514e242ad15c190588439930b0fa4f6782e3 -- 2.43.0