diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-12-14 09:22:36 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-12-14 13:35:55 +0100 |
commit | 0ea0b2dd46014fdfef14614d582d60ce29c65a1f (patch) | |
tree | 2e3345554f42e0fa49ac4cbbb19bf9e6d11b592b /gnu | |
parent | 07d958fe0edb21df38541cc3a9eabf0ae1ab9f84 (diff) | |
download | guix-0ea0b2dd46014fdfef14614d582d60ce29c65a1f.tar.gz |
gnu: Add r-acss.
* gnu/packages/cran.scm (r-acss): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/cran.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 37f8e8d877..b588d6e9f0 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -17724,3 +17724,32 @@ they reached a halting state or failed to end. This package contains data on 4, 5, 6, and 9 symbols. The complexity of the string corresponds to the distribution of the halting states.") (license license:gpl2+))) + +(define-public r-acss + (package + (name "r-acss") + (version "0.2-5") + (source + (origin + (method url-fetch) + (uri (cran-uri "acss" version)) + (sha256 + (base32 + "0cqa60544f58l5qd7h6xmsir40b9hqnq6pqgd5hfx2j2l5n7qhmk")))) + (properties `((upstream-name . "acss"))) + (build-system r-build-system) + (propagated-inputs + `(("r-acss-data" ,r-acss-data) + ("r-zoo" ,r-zoo))) + (home-page "http://complexitycalculator.com/methodology.html") + (synopsis "Algorithmic complexity for short strings") + (description + "The main purpose of this package is to provide the algorithmic +complexity for short strings, an approximation of the Kolmogorov Complexity of +a short string using the coding theorem method. While the database containing +the complexity is provided in the data only package @code{acss.data}, this +package provides functions accessing the data such as @code{prob_random} +returning the posterior probability that a given string was produced by a +random process. In addition, two traditional (but problematic) measures of +complexity are also provided: entropy and change complexity.") + (license license:gpl2+))) |