rasbt / rasbt/mlxtend

Add "RepeatedStratifiedKFold" (from sklearn) on top of cross-validation in sequential feature selectors

Open
#271 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement
Dominant language
Python
Stars
5.2k
Forks
916
Avg merge
17h 31m
Merged PRs (30d)
4

Description

As reported by @nd26, adding "RepeatedStratifiedKFold" (i.e., repeating cv a user-specified number of times) may yield to better results on certain datasets. This could be added as an additional parameter to the SequentialFeatureSelector, for example, reapeat_cv, which should default to 0 and accept positive integers

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the SequentialFeatureSelector implementation and review how its cross-validation parameter is handled; compare the requested behavior with sklearn's RepeatedStratifiedKFold. Done means supporting a repeat-count parameter that defaults to 0 and accepts positive integers, with the repeated cross-validation behavior covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, scikit-learn
Domain
machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.