1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-01 23:05:57 +02:00
Commit Graph

443 Commits

Author SHA1 Message Date
Timothee Mathieu daf69ad3ab gnu: Add python-scikit-learn-extra.
* gnu/packages/machine-learning.scm (python-scikit-learn-extra): New variable.

Change-Id: I50992ceaa76608f3345df6d74a5d9e4aa7c485a5

gnu/packages/machine-learning.scm | 41 +++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-02 12:35:01 +01:00
Troy Figiel d20ece07db gnu: python-imbalanced-learn: Update to 0.11.0.
* gnu/packages/machine-learning.scm (python-imbalanced-learn): Update to
0.11.0.
[arguments]<#:test-flags>: Move broken tests from "unbreak-tests" phase to
here.
<#:phases>: Add back some deleted python-keras and tensorflow tests.
[native-inputs]: Add python-keras, python-numpydoc and tensorflow.

Change-Id: Ibc2827e27ee23e0ffb491cb791bba4d1a3f1109d
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2023-11-20 18:52:09 +00:00
Arun Isaac ee49611771 gnu: python-imbalanced-learn: Reformat with guix style.
* gnu/packages/machine-learning.scm (python-imbalanced-learn): Reformat with
guix style.

Change-Id: Ifbdcb8dc43433bd6b4777527d5f8f94d5e1aa168
2023-11-20 18:48:50 +00:00
Vinicius Monego 1879bfd88f gnu: python-deepxde: Update to 1.10.0.
* gnu/packages/machine-learning.scm (python-deepxde): Update to 1.10.0.

Change-Id: Ibc37f9e7df45c49f590beb1dda87236e853b88c1
2023-11-03 19:25:36 -03:00
Vinicius Monego a55c3110be gnu: python-opentsne: Update to 1.0.0.
* gnu/packages/machine-learning.scm (python-opentsne): Update to 1.0.0.
2023-11-03 19:25:35 -03:00
Ricardo Wurmus 7e9783b2ab gnu: Add python-ml-collections.
* gnu/packages/machine-learning.scm (python-ml-collections): New variable.

Change-Id: I9299fe4221f13d979266fccc7b9cdd96a8d6e678
2023-10-30 13:00:56 +01:00
Ricardo Wurmus 8027b0a269 gnu: Add python-funsor.
* gnu/packages/machine-learning.scm (python-funsor): New variable.

Change-Id: Ibd4b993e4d55a6fdda70fe2b6cf4f665730b6739
2023-10-25 16:58:40 +02:00
Sharlatan Hellseher 105113f241 gnu: python-tslearn: Update to 0.6.2.
* gnu/packages/machine-learning.scm (python-tslearn): Update to 0.6.2.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-27 12:08:01 +01:00
Andy Tai 429a543d22 gnu: tensorflow-lite: Update to 2.13.0.
* gnu/packages/machine-learning.scm: (tensorflow-lite):
Update to 2.13.0
[inputs]: Add gemmlowp
[native-inputs]: Remove gemmlowp-src
* gnu/packages/patches/tensorflow-lite-unbundle.patch: New file
* gnu/local.mk (dist_patch_DATA): Add it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2023-09-18 23:35:07 +02:00
Vinicius Monego 9b78699744 gnu: Add python-gpytorch.
* gnu/packages/machine-learning.scm (python-gpytorch): New variable.
2023-09-16 23:10:52 -03:00
Vinicius Monego c7bd5811da gnu: Add python-linear-operator.
* gnu/packages/machine-learning.scm (python-linear-operator): New variable.
2023-09-16 23:10:52 -03:00
Vinicius Monego 70b8682eaa gnu: Add python-jaxtyping.
* gnu/packages/machine-learning.scm (python-jaxtyping): New variable.
2023-09-16 23:10:52 -03:00
Andy Tai 3eb77954f9 gnu: tensorflow-lite: Update to 2.12.1.
* gnu/packages/algebra.scm (eigen-for-tensorflow-lite): Remove variable.
* gnu/packages/machine-learning.scm (tensorflow-lite): Update to 2.12.1
[arguments]<configure-flags>: Turn on GPU and RUY use; Use cmake to
find packages already in Guix as dependencies for absl-cpp, eigen,
flatbuffer, neon2ssl, cpuinfo, ruy.
[arguments]<phases>: Remove operations setting up absl-cpp, eigen, ruy,
and neon2ssl as native inouts as now we use Guix's packages of these
as dependencies. Do default build phase.
Add steps to install C shared library and benchmark_model tool.
[inputs]: Add cpuinfo, eigen, fp16, mesa-header, opencl,
pthreadpool, ruy, vulkan and xnnpack as explicit inputs.
[native-inputs]: Remove local setup of neon2ssl and ruy
as we now use Guix's packages of these as explicit dependencies.
* gnu/packages/serialization.scm (flatbuffers-next-shared): New variable,
flatbuffers-next built with -fPIC as needed by tensorflow-lite.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2023-09-08 10:53:37 +02:00
Ricardo Wurmus 72745172d1 gnu: Add python-fasttext.
* gnu/packages/machine-learning.scm (python-fasttext): New variable.
2023-09-07 21:39:48 +02:00
Ricardo Wurmus 6d60d7ccba gnu: Add fasttext.
* gnu/packages/machine-learning.scm (fasttext): New variable.
2023-09-07 21:39:41 +02:00
Vinicius Monego d171c632f5 gnu: python-deepxde: Update to 1.9.3.
* gnu/packages/machine-learning.scm (python-deepxde): Update to 1.9.3.
2023-09-02 11:17:03 -03:00
Andy Tai be2786144c gnu: gemmlowp: Update to 0.1-1.08e4bb3.
* gnu/packages/machine-learning.scm (gemmlowp): Update to 0.1-1.08e4bb3.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-08-27 19:05:57 +01:00
Nicolas Graves bef4697d4b gnu: llama-cpp: Update to 0.0.0-0.f31b539.
* gnu/packages/machine-learning.scm (llama-cpp): Update to 0.0.0-0.f31b539.
[#:phases](install-python-scripts): Adapt python scripts.
(install): Remove deleted quantize script installation.

Co-authored-by: Andy Tai <atai@atai.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-08-15 00:33:51 +02:00
Vinicius Monego 32754da0dc gnu: python-pyro-ppl: Update to 1.8.6.
* gnu/packages/machine-learning.scm (python-pyro-ppl): Update to 1.8.6.
2023-08-12 13:55:18 -03:00
Vinicius Monego 6b28b9a020 gnu: Add python-deepxde.
* gnu/packages/machine-learning.scm (python-deepxde): New variable.
2023-07-29 14:25:10 -03:00
Tobias Geerinckx-Rice 29394ec3ca gnu: rxcpp: Update to 4.1.1.
* gnu/packages/machine-learning.scm (rxcpp): Update to 4.1.1.
2023-07-16 02:00:01 +02:00
Ricardo Wurmus d0296970fb gnu: Add python-captum.
* gnu/packages/machine-learning.scm (python-captum): New variable.
2023-07-10 13:13:45 +02:00
Navid Afkhami fcfdb8f05e gnu: Add python-tslearn.
* gnu/packages/machine-learning.scm (python-tslearn): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>.
2023-07-07 12:01:28 +02:00
Ricardo Wurmus 1e9a59bb54 gnu: python-threadpoolctl: Update to 3.1.0.
* gnu/packages/machine-learning.scm (python-threadpoolctl): Update to 3.1.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
[native-inputs]: Add python-flit-core.
2023-06-29 12:01:21 +02:00
Z572 15b731954b gnu: oneapi-dnnl: Fix building on riscv64-linux.
'CMake Error at src/cpu/rv64/CMakeLists.txt:36 (message):
  Only sequential runtime is now supported for a RISC-V CPU'.

* gnu/packages/machine-learning.scm (oneapi-dnnl)[arguments]: Adjust
configure-flags when building for riscv64-linux to fix build.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-06-25 23:46:03 +02:00
Ricardo Wurmus 81441182bb gnu: python-keras: Update to 2.3.1.
* gnu/packages/patches/python-keras-integration-test.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/machine-learning.scm (python-keras): Update to 2.3.1.
[source]: Remove patch; update snippet.
[arguments]: Add build phase 'tf-compatibility; add phase 'hdf5-compatibility;
rename phase 'remove-tests-for-unavailable-features to
'delete-unavailable-backends; update 'check phase to disable tests that cannot
be repaired or are flaky.
[native-inputs]: Add python-flaky, python-markdown, and python-pyux.
2023-06-20 23:40:40 +02:00
Ricardo Wurmus b4e37a3972 gnu: tensorflow: Patch one more instance of "collections".
* gnu/packages/machine-learning.scm (tensorflow)[arguments]: Add one more
patch of "collections" to "collections.abc" to the 'python3.10-compatibility
phase.
2023-06-20 23:40:40 +02:00
Ricardo Wurmus 91e07cc5bf gnu: tensorflow: Drop trailing #T from build phase.
* gnu/packages/machine-learning.scm (tensorflow)[arguments]: Remove #T from
'set-source-file-times-to-1980 phase.
2023-06-20 23:40:40 +02:00
Ricardo Wurmus ffb30ffb6e gnu: tensorflow: Patch for numpy >= 1.23.
* gnu/packages/machine-learning.scm (tensorflow)[arguments]: Remove
np.asscalar in 'python3.10-compatibility phase.
2023-06-20 23:40:40 +02:00
Ricardo Wurmus 9a7fc01b5c gnu: tensorflow: Drop package labels from propagated-inputs.
* gnu/packages/machine-learning.scm (tensorflow)[propagated-inputs]: Drop labels.
2023-06-20 23:40:40 +02:00
Efraim Flashner 8f0698dde3 gnu: python-keras: Fix building with newer python.
* gnu/packages/machine-learning.scm (python-keras)[source]: Add snippet
to adjust for newer versions of python.
2023-06-14 19:11:56 +03:00
Timothy Sample e6da6e3152 svn-download: Do not expand keywords.
Subversion keyword expansion is potentially non-reproducible as some of
them expand time strings relative to the local time zone:

  https://issues.guix.gnu.org/43442#18

In practice this is not a problem in Guix since Subversion checkouts
happen in an isolated environment using the "default timezone" (UTC).

However, Software Heritage disables keyword expansion for this very
reason.  By following suit, we make sure content can be retrieved from
there.

* guix/build/svn.scm (svn-fecth): Pass "--ignore-keywords" to
Subversion.
* guix/build-system/texlive.scm (%texlive-date): New variable.
* gnu/packages/java.scm (java-geronimo-xbean-reflect)
(java-geronimo-genesis-2.1): Update the source hash.
* gnu/packages/machine-learning.scm (ghmm): Likewise.
* gnu/packages/video.scm (libsmpeg, libsmpeg-with-sdl1): Likewise.
* gnu/packages/tex.scm (texlive-bin): Update the hash of the
"texlive-scripts" input, and a add a new phase that imitates
Subversion keyword expansion for scripts that need it.
(texlive-latex-base): Update the hash of the "texlive-luatexconfig"
native input.
(texlive-hyphen-base, texlive-dvipdfmx, texlive-dvips, texlive-cm)
(texlive-tex-plain, texlive-kpathsea, texlive-latexconfig)
(texlive-tetex, texlive-pdftex, texlive-xetex): Update the source
hash.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2023-06-11 18:13:44 +02:00
Ricardo Wurmus 6dc44cc963 gnu: Add python-sacrebleu.
* gnu/packages/machine-learning.scm (python-sacrebleu): New variable.
2023-06-09 16:53:29 +02:00
Ricardo Wurmus 266e54d7cb gnu: Add python-spacy.
* gnu/packages/machine-learning.scm (python-spacy): New variable.
2023-06-08 10:37:08 +02:00
Ricardo Wurmus 7a78dd1e39 gnu: Add python-thinc.
* gnu/packages/machine-learning.scm (python-thinc): New variable.
2023-06-08 10:37:08 +02:00
Ricardo Wurmus db8cf18517 gnu: Add python-spacy-loggers.
* gnu/packages/machine-learning.scm (python-spacy-loggers): New variable.
2023-06-08 10:37:08 +02:00
Ricardo Wurmus e3f148a6df gnu: Add python-spacy-legacy.
* gnu/packages/machine-learning.scm (python-spacy-legacy): New variable.
2023-06-08 10:37:08 +02:00
Ricardo Wurmus 76eda50717 gnu: Add r-rcppml/devel.
* gnu/packages/machine-learning.scm (r-rcppml/devel): New variable.
2023-06-02 19:54:27 +02:00
Navid Afkhami 9f37dc3be3 gnu: Add python-tensorly.
* gnu/packages/machine-learning.scm (python-tensorly): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
2023-05-25 17:19:29 +02:00
Ricardo Wurmus de926f43b8 gnu: python-vosk: Update for Python 3.10.
* gnu/packages/machine-learning.scm (python-vosk)[arguments]: Replace 3.9 with
3.10.
2023-05-25 15:37:39 +02:00
Ricardo Wurmus 7f79dabc96 gnu: kaldi-for-vosk: Update to 0-0.a25f216.
* gnu/packages/machine-learning.scm (kaldi-for-vosk): Update to 0-0.a25f216.
[inputs]: Replace jack-1 with jack-2.
[arguments]: Disable cu-array-test.
2023-05-25 15:37:39 +02:00
Ricardo Wurmus a9c91a1cb1 gnu: kaldi-for-vosk: Adjust style.
* gnu/packages/machine-learning.scm (kaldi-for-vosk)[inputs]: Remove spurious
semicolon.
[arguments]: Use LIST instead of double quoting; replace LET* with LET; adjust
indentation.
2023-05-25 15:37:39 +02:00
Vinicius Monego c5ebf6ff97 gnu: python-cmaes: Update to 0.9.1.
* gnu/packages/machine-learning.scm (python-cmaes): Update to 0.9.1.
[source, home-page]: Follow redirect.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Remove python-setuptools, python-wheel.
2023-05-14 11:10:24 -03:00
Vinicius Monego be18d943ba gnu: python-opentsne: Update to 0.7.1.
* gnu/packages/machine-learning.scm (python-opentsne): Update to 0.7.1.
2023-05-14 11:10:17 -03:00
Ricardo Wurmus e3e011a081 gnu: python-lightning-cloud: Use older version of fastapi.
The variant of the fastapi package must match that of
python-pytorch-lightning.

* gnu/packages/machine-learning.scm (python-lightning-cloud)
[propagated-inputs]: Replace python-fastapi with
python-fastapi-for-pytorch-lightning.
2023-05-12 10:50:01 +02:00
zamfofex b718e42c96 gnu: Add oneDNN.
* gnu/packages/machine-learning.scm (oneapi-dnnl): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-05-11 22:19:08 +08:00
Ricardo Wurmus b7534e4b5d gnu: Add python-pytorch-lightning.
* gnu/packages/machine-learning.scm (python-pytorch-lightning): New variable.
2023-05-10 19:27:08 +02:00
Ricardo Wurmus 7b9e90e40d gnu: python-torchvision: Update to 0.15.2.
* gnu/packages/machine-learning.scm (python-torchvision): Update to 0.15.2.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
2023-05-10 19:27:08 +02:00
Ricardo Wurmus 463a598585 gnu: Add python-inquirer.
* gnu/packages/machine-learning.scm (python-inquirer): New variable.
2023-05-10 19:27:07 +02:00
Ricardo Wurmus 9220dee755 gnu: Add python-readchar.
* gnu/packages/machine-learning.scm (python-readchar): New variable.
2023-05-10 19:27:07 +02:00