From 9474e64b098d52159ccec62969e6dceb924d5d5d Mon Sep 17 00:00:00 2001 From: TimotheeMathieu Date: Sat, 20 Jan 2024 12:41:00 +0100 Subject: [PATCH] gnu: Add python-scikit-opt. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-science.scm (python-scikit-opt): New variable. Change-Id: I47d6b35d9658a37a242b4db61d293fa7efd33802 Signed-off-by: Ludovic Courtès --- gnu/packages/python-science.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 2e0a17aac7..b6a116f16b 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -339,6 +339,27 @@ (define-public python-scikit-image "Scikit-image is a collection of algorithms for image processing.") (license license:bsd-3))) +(define-public python-scikit-opt + (package + (name "python-scikit-opt") + (version "0.6.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "scikit-opt" version)) + (sha256 + (base32 "0ycqizgsj7q57asc1bphzhf1fx9zqn0vx5rli7q541bas64hfqiy")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-numpy python-scipy)) + (home-page "https://github.com/guofei9987/scikit-opt") + (synopsis "Swarm intelligence algorithms in Python") + (description + "Scikit-opt (or sko) is a Python module implementing @dfn{swarm +intelligence} algorithms: genetic algorithm, particle swarm optimization, +simulated annealing, ant colony algorithm, immune algorithm, artificial fish +swarm algorithm.") + (license license:expat))) + (define-public python-scikit-optimize (package (name "python-scikit-optimize")