diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-06 13:18:11 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-06 13:29:30 +0100 |
| commit | f0e58f80873d9cf5398ade5be01a7502d15cfe90 (patch) | |
| tree | ee12700eb71db295b34b158454cd99c5ecc4b420 /gnu | |
| parent | 3078221906dc44bfe90d464cd2241f8fcbea53cd (diff) | |
gnu: Add python-lightgbm.
* gnu/packages/machine-learning.scm (python-lightgbm): New variable.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/machine-learning.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 0ac1d18932c..9007350d925 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm | |||
| @@ -3184,6 +3184,29 @@ advantages: | |||
| 3184 | ") | 3184 | ") |
| 3185 | (license license:expat))) | 3185 | (license license:expat))) |
| 3186 | 3186 | ||
| 3187 | (define-public python-lightgbm | ||
| 3188 | (package/inherit lightgbm | ||
| 3189 | (name "python-lightgbm") | ||
| 3190 | (build-system pyproject-build-system) | ||
| 3191 | (arguments | ||
| 3192 | (list | ||
| 3193 | ;; XXX: Enable when lightgbm is updated. | ||
| 3194 | #:tests? #f | ||
| 3195 | #:phases | ||
| 3196 | #~(modify-phases %standard-phases | ||
| 3197 | (add-after 'unpack 'chdir | ||
| 3198 | (lambda _ | ||
| 3199 | (chdir "python-package")))))) | ||
| 3200 | (native-inputs | ||
| 3201 | (list cmake-minimal | ||
| 3202 | python-pytest | ||
| 3203 | python-setuptools)) | ||
| 3204 | (propagated-inputs | ||
| 3205 | (list python-numpy | ||
| 3206 | python-scipy | ||
| 3207 | python-scikit-learn)) | ||
| 3208 | (synopsis "LightGBM Python Package"))) | ||
| 3209 | |||
| 3187 | (define-public vowpal-wabbit | 3210 | (define-public vowpal-wabbit |
| 3188 | ;; Language bindings not included. | 3211 | ;; Language bindings not included. |
| 3189 | (package | 3212 | (package |
