N-BEATS › Visualizing N-BEATS
Machine Learning from ScratchAll chapters N-BEATS › Visualizing N-BEATSOne section · Sections in this chapter3 / 8 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
Let's create visualizations that show how N-BEATS decomposes time series into interpretable components. These plots will help you understand the model's internal workings and how it separates trend from seasonal patterns.
The first plot shows a synthetic time series with both trend and seasonal components, along with N-BEATS' decomposition. You'll see how the model identifies the dashed trend and seasonal components separately, then combines them into the emphasized final forecast. Here you can see the model's ability to separate different types of patterns in the data.
The second and third plots focus on the basis functions themselves, showing how the polynomial trend functions and trigonometric seasonal functions work. These plots help you understand the mathematical foundation of the decomposition and how different basis functions contribute to the overall forecast.


