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

tasks/train_model.py uses deprecated SKLearn() #12

Open
EmielStoelinga opened this issue Sep 30, 2021 · 1 comment
Open

tasks/train_model.py uses deprecated SKLearn() #12

EmielStoelinga opened this issue Sep 30, 2021 · 1 comment

Comments

@EmielStoelinga
Copy link

In tasks/train_model.py SKLearn() is used while in fact this method to start an experiment is deprecated, see link. Afterwards, an environment as defined in the workspace or a curated environment can easily be used to train a model using the environment argument.

I would suggest to rewrite it to use a ScriptRunConfig object.

@wmeints
Copy link
Member

wmeints commented Sep 30, 2021

There's a branch with the change for this. I included a bunch of other changes to remove anaconda from the template as we would like to work without that tool. I'll take a look and see if I can grab only the bits for the deprecation fix.

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