Skip to content

Add tol support to SequentialFeatureSelector#1160

Open
vaaven wants to merge 1 commit intorasbt:masterfrom
vaaven:master
Open

Add tol support to SequentialFeatureSelector#1160
vaaven wants to merge 1 commit intorasbt:masterfrom
vaaven:master

Conversation

@vaaven
Copy link

@vaaven vaaven commented Feb 23, 2026

Hi @rasbt!

Added tol support to SequentialFeatureSelector for auto-like modes (k_features="best" or "parsimonious"), with tolerance-based early stopping logic in both forward/backward paths (including forward positive tol restriction)

Related issues or pull requests

Fixes #1079

Pull Request Checklist

  • Added a note about the modification or contribution to the ./docs/sources/CHANGELOG.md file (if applicable)
  • Added appropriate unit test functions in the ./mlxtend/*/tests directories (if applicable)
  • Modify documentation in the corresponding Jupyter Notebook under mlxtend/docs/sources/ (if applicable)
  • Ran PYTHONPATH='.' pytest ./mlxtend -sv and make sure that all unit tests pass (for small modifications, it might be sufficient to only run the specific test file, e.g., PYTHONPATH='.' pytest ./mlxtend/classifier/tests/test_stacking_cv_classifier.py -sv)
  • Checked for style issues by running flake8 ./mlxtend

@vaaven vaaven force-pushed the master branch 2 times, most recently from 0510f7f to 70161f8 Compare February 23, 2026 17:21
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.

Add option for termination criterion with tolerance

1 participant