HYPEX(1)

πŸ“¦ version 1.14, in nixos 26.05, nixpkgs unstable

πŸ’… 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 as dbacl(1). selects the hash sizes in powers of two. ✨
  • -s β€” stepsize for the threshold. hypex outputs 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