17 lines
616 B
Python
17 lines
616 B
Python
from azureml.core import Workspace
|
|
from azureml.core.experiment import Experiment
|
|
from azureml.train
|
|
|
|
def main():
|
|
ws = Workspace.get(name='newworkspace', subscription_id='616d95e9-f2f8-4e95-8535-e2449b5bd652', resource_group='myresourcegroup')
|
|
# ws = Workspace.create(name='newworkspace',
|
|
# subscription_id='616d95e9-f2f8-4e95-8535-e2449b5bd652',
|
|
# resource_group='myresourcegroup',
|
|
# create_resource_group=True,
|
|
# location='eastus2'
|
|
# )
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main() |