You are given a DataRegistry implementation (provided in a notebook environment) that exposes an interface to retrieve an iterator over samples for a given dataset name. The iterator optionally accepts an offset argument (used in Part 2+). Implement a DataBatcher class in multiple parts: Part 1: Given a registry of…