about summary refs log tree commit diff
path: root/gn/packages/machine-learning.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gn/packages/machine-learning.scm')
-rw-r--r--gn/packages/machine-learning.scm34
1 files changed, 33 insertions, 1 deletions
diff --git a/gn/packages/machine-learning.scm b/gn/packages/machine-learning.scm
index 3e51132..6a8bf33 100644
--- a/gn/packages/machine-learning.scm
+++ b/gn/packages/machine-learning.scm
@@ -4,7 +4,8 @@
   #:use-module (guix utils)
   #:use-module (gnu packages machine-learning)
   #:use-module (guix download)
-  #:use-module (guix build-system python))
+  #:use-module (guix build-system python)
+  #:use-module (gnu packages python-xyz))
 
 (define-public tensorflow-native
   (package
@@ -23,6 +24,37 @@
   (package-input-rewriting/spec `(("tensorflow" . ,(const tensorflow-native)))))
 
 
+
+(define-public python-keras-preprocessing
+  (package
+    (name "python-keras-preprocessing")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Keras_Preprocessing" version))
+       (sha256
+        (base32
+         "1r98nm4k1svsqjyaqkfk23i31bl1kcfcyp7094yyj3c43phfp3as"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     (list python-numpy python-six))
+    (native-inputs
+     (list python-pandas
+           python-pillow
+           python-pytest
+           python-pytest-cov
+           python-pytest-xdist
+           tensorflow))
+    (home-page "https://github.com/keras-team/keras-preprocessing/")
+    (synopsis "Data preprocessing and augmentation for deep learning models")
+    (description
+     "Keras Preprocessing is the data preprocessing and data augmentation
+module of the Keras deep learning library.  It provides utilities for working
+with image data, text data, and sequence data.")
+    (license license:expat)))
+
+
 (define-public python-keras-no-tests
   (package
     (name "python-keras-no-tests")