ANN_SAMPLE(1)

πŸ“¦
version 1.1.2+doc Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– ann_sample(1) β€” the manual page, but make it cute πŸ’–

okay bestie, welcome to ann_sample from the ANN suite (User Commands, she's a legend). this is the little demo program for the Approximate Nearest Neighbor Searching library, and she's here to show you the whole vibe. no cap. πŸ¦‹


✨ NAME ✨

ann_sample β€” the sample program for the ANN library, periodt.


✨ SYNOPSIS ✨

ann_sample [-d dim] [-max m] [-nn k] [-e eps] [-df data] [-qf query]

✨ DESCRIPTION ✨

so basically πŸ’… this is a sample program for the the Approximate Nearest Neighbor Searching library. the results? they get sent straight to standard output. it's giving "here's your answer, you're welcome." 🌸

want to run a lil demo? try this, bestie:

ann_sample -df /usr/share/doc/ann-tools/data.pts -qf /usr/share/doc/ann-tools/query.pts

and then compare what you got with this icon:

/usr/share/doc/ann-tools/sample.save

lowkey a whole moment. go off. ✨


✨ OPTIONS ✨

okay here's the full menu, every single one, don't skip:

  • -d dim β€” dimension of the space (default = 2). yes, only 2 by default, humble queen. πŸŽ€
  • -max m β€” maximum number of data points (default = 1000). that's your cap, literally. 🫢
  • -nn k β€” number of nearest neighbors per query (default 1). just the one bestie by default. 😭
  • -e eps β€” the error bound (default = 0.0). zero error allowed, perfectionist behavior, we love to see it. πŸ’…
  • -df data β€” name of file containing data points. your data lives here. πŸ“
  • -qf query β€” name of file containing query points. and your queries live here. 🧚

✨ AUTHOR ✨

Sunil Arya and David Mount β€” the OGs, the parents of this whole thing. πŸ‘‘


This man page is Copyright (C) 2007 Rafael Laboissiere <rafael AT debian DOT org> and released under the GNU GPL, version 3 or later. It was written for the Debian distribution but may be used by others. so like, share the love, just keep the license, fr fr. 🌈


✨ SEE ALSO ✨

  • ann2fig (1) β€” go check her out too, she's iconic. 🌟

and that's the whole page bestie, you ate that πŸ’– this masterpiece is from ANN 1.1.2+doc, dated 2025-12-09 β€” stan a classic, mwah πŸ˜˜πŸŽ€

πŸ“¦ where this page comes from