azure cosmos db as a datastore in ml

X. Han 26 Reputation points
2020-08-13T15:16:08.27+00:00

Hi, I'm wondering if I can register azure cosmos db as a datastore in azure machine learning?
From your documentation, it seems not https://learn.microsoft.com/en-us/python/api/azureml-core/azureml.core.datastore%28class%29?view=azure-ml-py

  • Do you have a plan to implement the feature in near future?
  • Any recommended alternative solutions for now?

Thanks.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,552 questions
0 comments No comments
{count} vote

Accepted answer
  1. GiftA-MSFT 11,151 Reputation points
    2020-08-14T22:43:18.18+00:00

    Hi, thanks for reaching out. Currently, Cosmos DB isn't a supported datasource when using Azure ML datastores. However, the product team are aware of this request and will provide updates accordingly. An alternative for now will be to use Azure ML Studio (Classic) which supports Cosmos DB as data source. You can also try a heuristic approach via Execute Python Script module in Designer to import data using python. Hope this helps.


2 additional answers

Sort by: Most helpful
  1. Top Anko (YIAND) ext admin 11 Reputation points
    2021-10-14T06:27:11.747+00:00

    Hi, Is there an update on this as a year has passed? For us, Cosmos DB is an important datasource (with no workable workarounds ), and not being able to use it as a datastore in Azure ML is forcing us to make a choice to continue with Azure ML or not.

    2 people found this answer helpful.

  2. daniel higgs 1 Reputation point
    2021-10-20T13:32:02.98+00:00

    I'm also interested in an update. We're in the process of migrating to azure and have lots of metadata associated with our training set stored in json files. It would be very nice to store it as a Table under our storage account and connect to it from AzureML via a datastore.

    0 comments No comments