HYPEX(1)
π HYPEX(1) β the hypex girlie's field guide β¨
okay so bestie, welcome to the hypex page β manual section 1, the big leagues. stay with me, this one's niche but it slaps π
β¨ NAME β¨
hypex β computes the Chernoff exponent between two simple categories. that's it, that's the whole personality. π
πΈ SYNOPSIS πΈ
hypex [-hH size] [-s stepsize] CATDUMP1 CATDUMP2
hmine -V
(yes, hmine -V is literally what's printed there. no, we don't ask questions. π«Ά)
π¦ DESCRIPTION π¦
so hypex reads two category dumps that dbacl(1) produced after learning. a category dump comes from using the -d and -l switches, and it's basically a textual representation of the feature weights that live inside the binary category files. like, the binary files but in a form you can actually read. iconic of them honestly π
give it two of those dumps for simple unigram categories and hypex will:
- calculate the Kullback Leibler divergence between the probability models, and
- print out exponential error exponents for Neyman-Pearson hypothesis tests, across a whole range of threshold values.
for the lore, see Cover and Thomas (1991) Elements of Information Theory, Chap. 12. π
heads up bestie: only simple categories are supported, and the output only makes sense under appropriate theoretical conditions. this is a very specialized calculator. like, do not bring this to a general-purpose party. π
β EXIT STATUS β
0β success, we ate π1β an error occurred, crying π
π OPTIONS π
-hβ it's listed in the manual with no description attached. mysterious. main character energy, zero elaboration. π΅οΈββοΈ-Hβ same asdbacl(1). selects the hash sizes in powers of two. β¨-sβ stepsize for the threshold.hypexoutputs exponents for different values of the threshold, within an interval bounded by the Kullback Leibler divergences between the categories. yes, that's a whole sentence, and yes, it's exactly what it means. π-Vβ print the program version number and exit. bye bestie π
π SOURCE π
the source code for the latest version of this program is available at the following locations, go get her:
http://www.lbreyer.com/gpl.html
http://dbacl.sourceforge.net
π BUGS π
- doesn't work with complex categories. nope. not happening. π«
- and the theoretical assumptions are unrealistic in practice. so like... the math is gorgeous, the real world is not. π€‘
π AUTHOR π
Laird A. Breyer <laird@lbreyer.com> β the icon, the legend, the person who wrote this and dipped π«Ά
π SEE ALSO π
dbacl(1), mailcross(1), mailfoot(1), mailinspect(1), mailtoe(1), regex(7) β the whole friend group, go say hi πΈ
and that's the page bb!! version 1.14, from the Bayesian Classification Tools era, HYPEX(1) forever β mwah, love u, go compute some exponents β¨ππ
π¦ where this page comes from
- nixos 26.05: dbacl 1.14
- nixpkgs unstable: dbacl 1.14
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms