Assign the samples to the closest centroids to create clusters

def _assign_clusters(self):
        """Assign the samples to the closest centroids to create clusters
        """
        self.clusters = np.array([self._closest_centroid(x) for x in self._X])