Add possibility of using multiple models
Maintainers usually reply within 10 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- jupyter-notebook, pandas, python
- Domain
- machine-learning
Research direction
Start by reading the SmartExplainer constructor and how it currently uses a single model. Then trace how the explainer is used to create apps and where conditions could select a model. Done means the constructor accepts multiple models and conditions, with tests covering model selection for the proposed use case.
Written by the indexing model from the issue text.
Description
Description of Problem:
Sometimes multiple models are trained
(on the same dataset, based on some criteria/conditions (e.g. dataset is too big to train a single model, or there is too much variability in the data). Currently, the SmartExplainer object accept a single model, meaning that multiple SmartExplainer objects must be created to address this problem and therefore multiple apps. Would this be a useful scenario of someone?
Overview of the Solution:
Add the possibility of passing a list of models instead of a single one to the SmartExplainer constructor and configure their usage based on a list of conditions.
Examples:
Something like this:
xpl = SmartExplainer(
models=[model1, model2, model3],
features_dict=features_dict,
conditions=[df['avg'] >= 20, df['avg'] > (20 & df['avg'] <= 50), (df['avg'] > 50 & df['avg'] < 100)]
)
Blockers:
Definition of Done:
- Dominant language
- Jupyter Notebook
- Stars
- 3.3k
- Forks
- 390
- Avg merge
- 7d 15h
- Merged PRs (30d)
- 9
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MAIF/shapash
-
Distribution plot crashes when a numeric feature is constant in the train or test setPossibly taken @adembilge claimed this today. Openbug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
MAIF/shapash#847 · 1 comment ·
Maintainers usually reply within 10 days
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
Maintainers usually reply within 10 days
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
Maintainers usually reply within 10 days
-
Extend end-to-end model support for scikit-learn, Keras, TensorFlow and PyTorchPossibly taken @guillaume-vignal claimed this 34 days ago. Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
Maintainers usually reply within 10 days
-
Add native TabICL backend with automatic selection in SmartExplainerPossibly taken @FlorisRimb claimed this 31 days ago. Openenhancement
Difficulty 4/5 3-5 days Newbie friendliness 55/100
MAIF/shapash#811 · 1 assignee ·
Maintainers usually reply within 10 days
Similar issues
-
AIR-Bench Foundation reads the first letter of the word after "answer" as the model's choicePossibly taken @beartester34 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
modelscope/evalscope#2330 ·
Maintainers usually reply within 1 day
-
[BUG]: MAPIE split, cross and jackknife regressors crash on a one-row `X`Possibly taken @sohammishra864-wq claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
deepset-ai/haystack-integrations#831 ·
Maintainers usually reply within 10 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
accepted
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
future-agi/future-agi#5781 ·
Maintainers usually reply within 1 day