guix_mirror_bot pushed a commit to branch r-team
in repository guix.

commit a0fe03206671496d909a65fb1050ab0f7b93c3f9
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Mon Mar 2 09:40:21 2026 +0100

    gnu: Add r-smotefamily.
    
    * gnu/packages/cran.scm (r-smotefamily): New variable.
    
    Change-Id: I3057ae5aec459177fc53992af65cccf93f1ebe68
---
 gnu/packages/cran.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 3aa80e3d2a..f5523c4242 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -10556,6 +10556,29 @@ individual SNP score statistics in a SNP set and 
efficiently compute SNP-set
 level p-values.")
     (license license:gpl2+)))
 
+(define-public r-smotefamily
+  (package
+    (name "r-smotefamily")
+    (version "1.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "smotefamily" version))
+       (sha256
+        (base32 "05ck6c4pldqqspb7abjh8vabc3g0fp6ivfbd9y2q2rm031mil4p2"))))
+    (properties `((upstream-name . "smotefamily")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-dbscan r-fnn r-igraph))
+    (home-page "https://cran.r-project.org/package=smotefamily";)
+    (synopsis
+     "Collection of oversampling techniques for class imbalance problem based 
on SMOTE")
+    (description
+     "A collection of various oversampling techniques developed from SMOTE is
+provided.  SMOTE is an oversampling technique which synthesizes a new minority
+instance between a pair of one minority instance and one of its K nearest
+neighbor.")
+    (license license:gpl3+)))
+
 (define-public r-sn
   (package
     (name "r-sn")

Reply via email to