Hands-On Exercises¶
Welcome to the exercises section of the fusionlab-learn user guide.
This collection of hands-on tutorials provides practical, step-by-step
walkthroughs for the library’s key features, data preparation
workflows, and model architectures.
Whether you are getting started with basic forecasting or implementing an advanced, physics-informed model, these guides are designed to help you master the library’s capabilities. We recommend starting with the Foundational Skills if you are new to the library.
Foundational Skills
Data-Driven Forecasting Models
- Exercise: Advanced Forecasting with BaseAttentive
- Exercise: Forecasting with HALNet (All Inputs Required)
- Exercise: Forecasting with a Pure Transformer
- Exercise: Forecasting with Stricter TFT (All Inputs Required)
- Exercise: Advanced Quantile Forecasting with XTFT
- Exercise: Advanced Forecasting with SuperXTFT
Physics-Informed Models (PINNs)
- Exercise: Hybrid Forecasting with PIHALNet
- Exercise: Hybrid Forecasting with TransFlowSubsNet
- Exercise: Physics-Informed Forecasting with PIHALNet & TransFlowSubsNet
- Prerequisites
- Step 0: Preamble & Configuration
- Step 1: Load and Inspect the Dataset
- Step 2: Preprocessing - Feature Selection & Cleaning
- Step 3: Preprocessing - Encoding & Scaling
- Step 4: Define Feature Sets & Generate Sequences
- Step 5: Create tf.data.Dataset
- Step 6: Model Training
- Step 7: Visualize Results
- Discussion of Exercise
- Exercise: Solving a Forward Problem with PiTGWFlow
- Exercise: A Basic PIHALNet Forecasting Workflow