nx_lbp_cluster.nx
buildroot/runtime/nx_lbp_cluster.nx
about
nx_lbp_cluster.nx -- SOVEREIGN face-descriptor RUNG 4 GATE: greedy chi-square clustering of descriptors
into person groups (cluster_greedy in nx_lbp_core.nx). Pure NishiLang, no benchmark. KAT on synthetic
descriptors with 3 clearly-separated groups -> exactly 3 clusters with correct membership; plus threshold
neg-controls (huge thresh -> 1 cluster, zero thresh -> every item its own). This is the engine that will
turn the corpus descriptor store into galx_face_index (cid->person). Build/run:
./_offc/nx_sov_build_run.elf nx_lbp_cluster license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_lbp_core.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 9 | const K_MAGIC_50000: i64 = 50000 |
| 10 | const K_MAGIC_1000000000: i64 = 1000000000 |
functions
| 12 | func setrow(buf: *i64, i: i64, d: i64, b0: i64, b1: i64, b2: i64, b3: i64) -> i64 called by 1: main |
| 16 | func main() -> i64 |