SkillAgentSearch skills...

Runpmc

Probabilistic Multiplicity Counting

Install / Use

/learn @sorenmacbeth/Runpmc
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

runpmc

An implementation of Probabilistic Multiplicity Counting.

Largely a port of this go version

Usage

(def pmc-sketch (loop [i 1000000 s (create 1000000)]
                  (if (zero? i)
                    s
                    (recur (dec i) (increment s (.getBytes "runpmc" "UTF-8")))))

(estimate pmc-sketch (.getBytes "runpmc" "UTF-8")

License

Copyright © 2015 FIXME

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

Related Skills

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated2y ago
Forks0

Languages

Clojure

Security Score

70/100

Audited on Jul 25, 2023

No findings