These are the decision heads behind the Kaggle submission schematics-2026 by team ajikajadeh. The pipeline is the anchor B+CBN+BJCONG: Kaggle ref 57419496, public macro-F1 0.77264. The repo is private because of the competition's no-private-sharing rule.
The repo holds a small, numpy-only classifier with rule-based open-set gates. It runs on frozen embeddings and logits from public pretrained encoders, and it is not a new acoustic model.
| Component | Source | Trained here? |
|---|---|---|
Perch v2 (google/bird-vocalization-classifier/tensorFlow2/perch_v2/2) |
Google, Kaggle Models, Apache-2.0 | no, frozen |
| BirdNET V3.0 mean probabilities | BirdNET team, used as a second opinion only | no, frozen |
Two logistic-regression heads (heads.npz) |
this repo | yes, on the competition train split only |
Gates and fitted "seen" lists (config.json) |
this repo | thresholds fixed; seen lists counted on train only |
Training data: the official Schematics NPC DSC 2026 train split only (1,826 clips, 15 source recordings, 3 species). No external audio and no test labels were used. Test audio was not used to fit anything in this package.
p = ½ · softmax(LR_emb(E)) + ½ · softmax(LR_logit(standardise(L[:, top]))), with classes Bondol Jawa, Cendrawasih, Kutilang. Both LRs use class_weight=balanced.import inference # this repo
mdl = inference.load('.')
labels = inference.predict(mdl, E, Lmean, B) # E (n,1536), Lmean (n,14795) from Perch v2; B = BirdNET V3.0 mean probs
The front end is 32 kHz mono, 5 s windows with a 2.5 s hop, and the last window end-aligned. E and Lmean are the means over windows. The full extraction code is in the competition notebook DatSci_ajikajadeh_Notebook.ipynb.
Verification: experiments/hf_package/build.py asserts that this numpy inference reproduces submission.csv (sha256 355a0280…) with 0 differing rows from the cached notebook features.
| Setting | macro-F1 |
|---|---|
| S0 (3 known classes) | 0.878 |
| S_BJ (Bondol Jawa held out as pseudo-unknown) | 0.874 |
| S_C (Cendrawasih held out as pseudo-unknown) | 0.659 |
| S_K (Kutilang held out as pseudo-unknown) | 0.639 |
Kaggle public LB (4-class macro-F1 including Unknown): 0.77264.
tc = 4 was mainly supported by the public leaderboard (+0.168).unified_external_feats.npz 109 MBulm_perch_feats.npz 63 MBexternal_perch_feats_all.npz 44 MBpretrained_external_head.npz 321 kBheads.npz 119.2 kBext_pure_probes.npz 77.4 kB