ANN_SAMPLE(1)
π 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. π
β¨ COPYRIGHT β¨
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
- ubuntu resolute: ann-tools 1.1.2+doc-9build2 Β· LGPL-2.1-or-later
- ubuntu stonking: ann-tools 1.1.2+doc-9build2 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms