Chapter 4: Image and video generation
The art of visualizing high-dimensional data
Abstract
I discuss different techniques to produce professional data videos, animated GIFs, and other visualizations in Python, using the pillow and moviepy libraries. Applications include visualizing prediction intervals regardless of the number of features (also called independent variables), supervised classification applied to an infinite data set, convergence of machine learning algorithms, and animations featuring objects of various sizes moving at various speeds according to various paths. For instance, I show a video simulation of 300 comets circling the sun, to assess the risk of a collision.
The Python libraries in question allow for low-level image processing ...
Get Synthetic Data and Generative AI now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.