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

AutomatedML for EconML #213

Merged
merged 39 commits into from
Feb 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
29d25ce
Pull Request for AutomatedML
v-keacqu Jan 22, 2020
e9f5221
doc fixes
v-keacqu Jan 22, 2020
da1dc1f
Test strategy edit
v-keacqu Jan 22, 2020
ccfab6d
linter fixes
v-keacqu Jan 23, 2020
6dc7272
test refactor, under 20 minutes
v-keacqu Jan 27, 2020
54c39e4
Updated build pipeline steps and all tests pass locally under 20 minutes
v-keacqu Jan 28, 2020
dabc7e8
azure pipelines setup changes
v-keacqu Jan 29, 2020
e020913
test automated ml edit
v-keacqu Jan 29, 2020
7eb85d5
test automl now sets workspace from environment variables
v-keacqu Jan 29, 2020
9e8c8fb
Use Powershell to run tests
kbattocchi Jan 30, 2020
ba99ea3
tests now do not require interactive authorization
v-keacqu Jan 30, 2020
bb6b795
Merge branch 'master' of https://github.com/v-keacqu/EconML
v-keacqu Jan 30, 2020
35b7767
Update azure-pipelines.yml
kbattocchi Jan 30, 2020
60edda6
setup marks and ServicePrincipalAuthentication import
v-keacqu Jan 30, 2020
00a2104
Merge branch 'master' of https://github.com/v-keacqu/EconML
v-keacqu Jan 30, 2020
d2b6e06
fixed linting issues
v-keacqu Jan 30, 2020
e784d7e
removed workspace_region reference
v-keacqu Jan 30, 2020
be617c8
connection setup now in setup class method
v-keacqu Jan 30, 2020
f50d8a9
fixed linting issues
v-keacqu Jan 30, 2020
9743dd4
fixed linting issue
v-keacqu Jan 30, 2020
5c8c39a
Update azure-pipelines.yml
kbattocchi Jan 31, 2020
e581c26
Update setup.cfg
kbattocchi Jan 31, 2020
1f514ac
Update test_automated_ml.py
kbattocchi Jan 31, 2020
03b3742
Update setup.cfg
kbattocchi Jan 31, 2020
342b92e
Update azure-pipelines.yml
kbattocchi Jan 31, 2020
7446cab
added pip install azureml-train-automl-runtime to build pipeline steps
v-keacqu Jan 31, 2020
773cd5b
Merge branch 'master' of https://github.com/v-keacqu/EconML
v-keacqu Jan 31, 2020
810c7d5
pull request comments resolved.
v-keacqu Jan 31, 2020
f8364ea
commiting notebook
v-keacqu Jan 31, 2020
24b0111
Update setup.cfg
kbattocchi Jan 31, 2020
577504a
attempting to build documentation
v-keacqu Jan 31, 2020
aceb03c
Merge branch 'master' of https://github.com/v-keacqu/EconML
v-keacqu Jan 31, 2020
8e47910
Only install AutoML when necessary
kbattocchi Feb 3, 2020
ef0b0c5
Prevent unexpected test failures when automl isn't installed
kbattocchi Feb 3, 2020
5517bdd
Fix doc typo
kbattocchi Feb 3, 2020
3a35deb
Fix test failures
kbattocchi Feb 3, 2020
60c0046
Fix error on Python 3.5
kbattocchi Feb 3, 2020
8c14f5a
Run automl tests sequentially
kbattocchi Feb 4, 2020
97f12b5
Merge branch 'master' into master
kbattocchi Feb 14, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion azure-pipelines-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

parameters:
body: []
package: '.'

steps:
- task: UsePythonVersion@0
Expand All @@ -23,7 +24,7 @@ steps:
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))

# Install the package
- script: 'python -m pip install --upgrade pip && pip install --upgrade setuptools && pip install .'
- script: 'python -m pip install --upgrade pip && pip install --upgrade setuptools && pip install ${{ parameters.package }}'
displayName: 'Install dependencies'

- ${{ parameters.body }}
39 changes: 37 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ jobs:

- script: 'python setup.py build_sphinx -b doctest'
displayName: 'Run doctests'
package: '.[automl]'

- job: 'Notebooks'
dependsOn: 'EvalChanges'
Expand Down Expand Up @@ -102,6 +103,41 @@ jobs:
testRunTitle: 'Notebooks'
condition: succeededOrFailed()

- job: 'AutoML'
dependsOn: 'EvalChanges'
condition: eq(dependencies.EvalChanges.outputs['output.testCode'], 'True')
variables:
python.version: '3.6'
pool:
vmImage: 'ubuntu-16.04'
steps:
- template: azure-pipelines-steps.yml
parameters:
body:
- task: AzureCLI@2
displayName: 'AutoML tests'
inputs:
azureSubscription: 'automl'
scriptLocation: 'inlineScript'
scriptType: 'pscore'
powerShellIgnoreLASTEXITCODE: '' # string for now due to https://github.com/microsoft/azure-pipelines-tasks/issues/12266
inlineScript: |
$env:SUBSCRIPTION_ID = az account show --query id -o tsv
python setup.py pytest
env:
WORKSPACE_NAME: 'testWorkspace'
RESOURCE_GROUP: 'testingAutoMLEconML'
PYTEST_ADDOPTS: '-m "automl" -n 0'
COVERAGE_PROCESS_START: 'setup.cfg'

- task: PublishTestResults@2
displayName: 'Publish Test Results **/test-results.xml'
inputs:
testResultsFiles: '**/test-results.xml'
testRunTitle: 'AutoML'
condition: succeededOrFailed()
package: '.[automl]'

- job: 'Linting'
dependsOn: 'EvalChanges'
condition: eq(dependencies.EvalChanges.outputs['output.testCode'], 'True')
Expand Down Expand Up @@ -162,9 +198,8 @@ jobs:
- script: 'python setup.py pytest'
displayName: 'Unit tests'
env:
PYTEST_ADDOPTS: '-m "not notebook"'
PYTEST_ADDOPTS: '-m "not (notebook or automl)"'
COVERAGE_PROCESS_START: 'setup.cfg'

- task: PublishTestResults@2
displayName: 'Publish Test Results **/test-results.xml'
inputs:
Expand Down
1 change: 1 addition & 0 deletions doc/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Public Module Reference
econml.metalearners
econml.two_stage_least_squares
econml.utilities
econml.automated_ml

Private Module Reference
========================
Expand Down
Loading