me
/
guix
Archived
1
0
Fork 0

gnu: Add r-kknn.

* gnu/packages/statistics.scm (r-kknn): New variable.
master
Lars-Dominik Braun 2021-05-18 14:09:14 +02:00
parent fef452b13f
commit 6c7aafbedf
No known key found for this signature in database
GPG Key ID: F663943E08D8092A
1 changed files with 21 additions and 0 deletions

View File

@ -6134,3 +6134,24 @@ input, the effect size can be returned as standardized mean difference, Cohen's
f, Hedges' g, Pearson's r or Fisher's transformation z, odds ratio or log odds,
or eta squared effect size.")
(license license:gpl3)))
(define-public r-kknn
(package
(name "r-kknn")
(version "1.3.1")
(source
(origin
(method url-fetch)
(uri (cran-uri "kknn" version))
(sha256
(base32
"1nzkg3dxaiqp87p56wm895qx5xn86hv5hjr73qvl1yiaxiq0x112"))))
(properties `((upstream-name . "kknn")))
(build-system r-build-system)
(propagated-inputs
`(("r-igraph" ,r-igraph) ("r-matrix" ,r-matrix)))
(home-page "https://github.com/KlausVigo/kknn")
(synopsis "Weighted k-Nearest Neighbors")
(description
"Weighted k-Nearest Neighbors for Classification, Regression and Clustering.")
(license license:gpl2+)))