azureml-workshop-2019
azureml-workshop-2019 copied to clipboard
[Paper-Cut:SDK] Why two classes (Estimator and ScriptRunConfig) for a very similar purpose
This is confusing for users. There are two ways of submitting experiments to AML compute:
- Based on Estimator
- Based on ScriptRunConfig
Then, both can be used with the HyperDriveConfig class. No clear reasons or why you should use one or the other approach.
Also, no where in the docs I could find when one or the other should be used or which one is better under what circumstances.
If both are very similar, we should probably deprecate one of them so the usage path is simplified for the user. Having multiple ways of doing something without clear reasons is very confusing for the users.
Very similarly, in our Estimators at least you can input Datasets through 'inputs' or 'script_params' which is also confusing for users
It is worth a look if we can unify the two. But we should start with documenting the current rationale: https://msdata.visualstudio.com/Vienna/_workitems/edit/583735