Spectral Analytics Extensions¶
Module: spectralbridge.spectral_analytics_extensions.
Training-confined prototype, domain and withheld-class diagnostics.
Experimental audit outputs; no operational classification or purity guarantee.
API glossary ยท Workflow / scientific context
Signatures and documentation below are collected from the current source. Advanced objects are not newly declared stable by inclusion here.
Audience: advanced.
checkpoint ¶
checkpoint(directory, identity, action)
Publish a stage ledger last; reject altered completed outputs.
Audience: advanced.
novelty_threshold ¶
novelty_threshold(scores, identities, quantile=0.95)
Known-only higher empirical quantile of whole-identity maxima.
Audience: advanced.
unknown_metrics ¶
unknown_metrics(is_unknown, scores, threshold)
Unknown precision/recall and known rejection at a prechosen threshold.
Audience: advanced.
safe_novelty_scores ¶
safe_novelty_scores(values, training, space)
Keep zero selected-band spectra for distance/PCA; angle is undefined.
Audience: advanced.
run_extensions ¶
run_extensions(source, compact, root, *, config=None)
Run declared secondary comparisons with per-fold restart checkpoints.
Audience: advanced.
run_domains ¶
run_domains(source, compact, root, *, config=None)
Predict observational domains on held-out identities, not instrument causes.