Source range selector
neureptrace.decoding.source_range_selector implements source-only feature selection by source feature range.
The protocol is Category 1 / strict source-only. Feature ranges and the selected feature mask are estimated from source rows only. Evaluation rows are transformed with the fitted mask but are not used to fit it.
neureptrace.decoding.source_range_selector
Source-only range selector.
SourceRangeSelectorResult
dataclass
Source code in src/neureptrace/decoding/source_range_selector.py
15 16 17 18 19 20 21 | |
fit_source_range_selector(*, source_features, test_features, min_range=0.0, top_k=None)
Source code in src/neureptrace/decoding/source_range_selector.py
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | |
select_source_range_features(ranges, *, min_range=0.0, top_k=None)
Source code in src/neureptrace/decoding/source_range_selector.py
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |