Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

TensorFlow Tutorial

This 60-minute hands-on tutorial introduces TensorFlow and TensorFlow Probability through practical examples covering tensors, Keras neural networks, and structural time series forecasting.

Tutorial in 30 Seconds

TensorFlow is an open-source machine learning framework from Google for building and training neural networks and probabilistic models.

Key capabilities:

After this tutorial, you will understand:

Official References

Getting Started

Prerequisites

This tutorial runs in a Docker container with all dependencies pre-configured. No additional setup is required beyond the steps below.

Setup Instructions

  1. Navigate to the tutorial directory:

    > cd tutorials/TensorFlow
  2. Build the Docker image:

    > ./docker_build.sh

    (See docker_build.sh)

  3. Launch Jupyter Lab:

    > ./docker_jupyter.sh

    (See docker_jupyter.sh)

Dependency Management

This project uses uv for efficient Python dependency management within the Docker container. The system works as follows:

The Docker container comes with all dependencies pre-compiled and synced. If you need to update dependencies manually:

# Compile top-level packages into pinned requirements
> uv pip compile requirements.in -o requirements.txt

# Sync the environment with the compiled list
> uv pip sync requirements.txt

Tutorial Notebooks

Work through the following notebooks in order:

Changelog