rasbt / rasbt/mlxtend

Add Caching To The Estimators

Open
#239 2 comments 0 reactions 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

Some kind of Feature Request. I propose to add caching approach to the library estimators ...

Let's consider how it can boost Feature Selection approach for example:

  • This need/idea just stolen from heamy package :). - http://heamy.readthedocs.io
  • Once you train estimator, it's cached automatically by default.
  • In our case we can start from running SBS(k_features=(10,20)), evaluate
  • AND next iteration SBS(k_features=(13,30)) will be performed much faster, because we will load our estimations (13,20) from the cache
  • Heamy has one known for me cons - when I changed the dataset, but shape was not changed their caching algorithms can't recognize the difference :)

Thank you.

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 by reviewing the library's estimator implementations and the SBS feature-selection entry point mentioned in the issue. Clarify how trained estimators and dataset changes should be identified before defining the cache behavior; done means repeated SBS ranges reuse valid estimations without confusing changed datasets.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.