For n points in d dimensions, a coreset algorithm takes an n×d data set and reduces it to m≪n points whilst attempting to preserve the statistical properties of…