Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Bump scikit-learn, then train and pickle models. #32

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

richardkmichael
Copy link

Note, this is on top of #31 .

Bump scikit-learn to 0.18.1 (#13 also does this), then train and pickle models.

This helps working with related Elevation, so there is no scikit-learn compatibility and models can be unpickled (by calling code in Elevation).

(Also removes unnecessary execute permissions from the pickle files.)

Changes to numpy and pandas since this code was originally written cause a
`ValueError`, breaking an `assert` in the model comparison code.  Appears due to
numpy beginning to delegate to pandas for `.any()` (and other functions), which
itself returns a Series instead of single boolean, resulting in error "Truth
value of a Series is ambiguous".  Pin numpy and pandas at the versions which
work.

Also add missing xlrd dependency, required during model training.

Create `requirements.txt` for pip to give absolute dependency clarity and
simplify installation.
@msftclas
Copy link

msftclas commented Mar 24, 2020

CLA assistant check
All CLA requirements met.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants