Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants