Skip to content

feat(preprocessing): add correlation feature selector - #686

Merged
ulises-jeremias merged 1 commit into
mainfrom
copilot/vsl-correlation-selector
Nov 24, 2026
Merged

ulises-jeremias merged 1 commit into
mainfrom
copilot/vsl-correlation-selector

Conversation

@ulises-jeremias

Copy link
Copy Markdown
Member

Adds a leakage-safe, scikit-learn-style univariate feature selector based on absolute Pearson correlation.

  • Fits scores only from training data and supports deterministic top-k selection.
  • Preserves row order, original feature order, and feature names.
  • Breaks score ties by original feature index.
  • Validates finite inputs, target length, feature widths, k, unfitted transforms, and failed refits.
  • Adds focused regression coverage.

Local validation from ~/.vmodules: systemd-run --user --scope -p MemoryMax=2G -p MemorySwapMax=0 -p CPUQuota=200% env VJOBS=1 v test vsl/preprocessing (7/7 passed). Hosted CI is not used as the local merge gate.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ulises-jeremias
ulises-jeremias merged commit ef37f5a into main Nov 24, 2026
19 of 21 checks passed
@ulises-jeremias
ulises-jeremias deleted the copilot/vsl-correlation-selector branch November 24, 2026 19:26
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant