Skip to main content

Tutorials: Get started with AI and machine learning

The notebooks in this section are designed to get you started quickly with AI and machine learning on Mosaic AI. You can import each notebook to your Databricks workspace to run them.

These notebooks illustrate how to use Databricks throughout the AI lifecycle, including data loading and preparation; model training, tuning, and inference; and model deployment and management.

Classical ML tutorials

NotebookRequirementsFeatures
End-to-end exampleDatabricks Runtime MLUnity Catalog, classification model, MLflow, automated hyperparameter tuning with Hyperopt and MLflow, XGBoost
Deploy and query a custom modelDatabricks Runtime MLUnity Catalog, classification model, MLflow, automated hyperparameter tuning with Hyperopt and MLflow
Machine learning with scikit-learnDatabricks Runtime MLUnity Catalog, classification model, MLflow, automated hyperparameter tuning with Hyperopt and MLflow
Machine learning with MLlibDatabricks Runtime MLLogistic regression model, Spark pipeline, automated hyperparameter tuning using MLlib API
Deep learning with TensorFlow KerasDatabricks Runtime MLNeural network model, inline TensorBoard, automated hyperparameter tuning with Hyperopt and MLflow, autologging, ModelRegistry

AI tutorials

NotebookRequirementsFeatures
Get started querying LLMsDatabricks Runtime MLUnity Catalog, classification model, MLflow, automated hyperparameter tuning with Hyperopt and MLflow, XGBoost
Query OpenAI external model endpointsDatabricks Runtime MLUnity Catalog, classification model, MLflow, automated hyperparameter tuning with Hyperopt and MLflow
Create and deploy a Foundation Model Fine-tuning runDatabricks Runtime MLUnity Catalog, classification model, MLflow, automated hyperparameter tuning with Hyperopt and MLflow
10-minute Mosaic AI agent demoDatabricks Runtime MLMosaic AI Agent Framework, Agent Evaluation, MLflow, synthetic data
Mosaic AI agent demo - bring your own dataDatabricks Runtime MLMosaic AI Agent Framework, Agent Evaluation, MLflow, synthetic data, Vector Search Index
Generative AI tutorialDatabricks Runtime MLNeural network model, inline TensorBoard, automated hyperparameter tuning with Hyperopt and MLflow, autologging, ModelRegistry