Commit bf1816e
authored
Add tests (#37)
* loosening numpy and pandas versions
* fixes to build requirements
* simplifying setup.py, logic in pyproject.toml
* fixing _estimator_type flags
* feat: Add scikit-learn estimator type tags
Adds the `__sklearn_tags__` method to the `sklearn_sm` and `sklearn_selected` wrappers. This allows scikit-learn to correctly identify the estimator type (regressor or classifier) based on the statsmodels model.
This change enables the use of scikit-learn's cross-validation and model selection tools with these wrappers.
Tests have been added to verify that OLS and GLM Binomial models are correctly identified.
* removing redundant setup.py
* unused pkg_resources import
* ensure we get a 0-dim answer; use arg params for cross_val_score
* adding some new tests
* updating version
* ISLP_labs at v2.2.1
* update versioneer
* using setuptools_scm
* update install instructions
* adding fit_params as kwargs
* removing unneeded fit_params1 parent 85853d2 commit bf1816e
12 files changed
Lines changed: 176 additions & 711 deletions
File tree
- ISLP
- data/book_images/.ipynb_checkpoints
- models
- docs
- source
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
166 | | - | |
| 165 | + | |
| 166 | + | |
167 | 167 | | |
0 commit comments