Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The _BasePipeline in exported Python script should be _BaseComposition #50

Closed
Mithrillion opened this issue Aug 20, 2017 · 1 comment
Closed

Comments

@Mithrillion
Copy link

Since scitkit-learn 0.19.x, the base class for Pipeline has changed to _BaseComposition.
https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/pipeline.py
When using the generated code for training, it raises a name-not-found error on newer versions of sklearn.
At the moment, an easy workaround is to change two instances of the word manually in the generated script.

@reiinakano
Copy link
Owner

Thanks for pointing this out! I'll get on a fix right away.

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

No branches or pull requests

2 participants