summary refs log tree commit diff
path: root/gnu/packages/machine-learning.scm
diff options
context:
space:
mode:
authorBen Woodcroft <donttrustben@gmail.com>2017-12-14 18:45:21 +1000
committerBen Woodcroft <donttrustben@gmail.com>2017-12-14 22:50:19 +1000
commit8a6cd65a2a66107b5a1ae12138a9af0002f55983 (patch)
tree45dc80b4bc741f5bc5c6b57353e85bc8f19ab68a /gnu/packages/machine-learning.scm
parent4e0b3583eab7dd67c2e13ad614e48f8d31c59c90 (diff)
downloadguix-8a6cd65a2a66107b5a1ae12138a9af0002f55983.tar.gz
gnu: python-scikit-learn: Patch test non-determinism.
* gnu/packages/patches/python-scikit-learn-fix-test-non-determinism.patch:
New file.
* gnu/packages/machine-learning.scm (python-scikit-learn)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/machine-learning.scm')
-rw-r--r--gnu/packages/machine-learning.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index cf400a0eed..c8bd5d7747 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -621,7 +621,9 @@ computing environments.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "18n8775kyfwbvcjjjzda9c5sqy4737c0hrmj6qj1ps2jmlqzair9"))))
+         "18n8775kyfwbvcjjjzda9c5sqy4737c0hrmj6qj1ps2jmlqzair9"))
+       (patches (search-patches
+                "python-scikit-learn-fix-test-non-determinism.patch"))))
     (build-system python-build-system)
     (arguments
      `(#:phases