FREE STUDY NOTES · AI-300

Data assets and MLTable in Azure Machine Learning

uri_file, uri_folder and mltable data assets, and how mltable.load() finds the MLTable file.

From Ultra Transcenders AI-300 by Tony Rough (publishing soon)

A data asset is a named, versioned reference to data, built on a URI that points at a datastore or storage endpoint. The URI scheme must match the storage endpoint, and the asset type must match what the path points at.

Scheme / type Meaning
wasbs://account.blob.core.windows.net/container/... Blob Storage (blob endpoint)
abfss://...dfs.core.windows.net/... ADLS Gen2 (dfs endpoint)
azureml:// Registered datastore
AssetTypes.URI_FOLDER Folder or container (many files)
AssetTypes.URI_FILE One file
AssetTypes.URI_MLTABLE Folder containing an MLTable file

Common trap: Using abfss for a data asset over all the blobs in a container - abfss needs the ADLS Gen2 dfs endpoint; for the blob endpoint, use wasbs with URI_FOLDER.

Common trap: Passing the MLTable file itself to load(), as in mltable.load("./sample_data/MLTable") - load() takes the folder that contains the MLTable file, not the file.

Get the whole book

This note is one section of Ultra Transcenders AI-300: Operationalizing Machine Learning and Generative AI Solutions, an independent study guide that explains every topic the exam covers by technology, with comparison tables, diagrams and the common traps, plus a glossary linked to Microsoft Learn.

Amazon.co.ukKindle: coming soonPaperback: coming soon
Amazon.comKindle: coming soonPaperback: coming soon

Publishing soon on Amazon in Kindle and paperback editions.

About the book · Free AI-300 glossary · All AI-300 study notes

More AI-300 study notes