@with_cupy_rmm
def score(self, X):
    '\n        Computes the inertia score for the trained KMeans centroids.\n\n        Parameters\n        ----------\n        X : dask_cudf.Dataframe\n            Dataframe to compute score\n\n        Returns\n        -------\n\n        Inertial score\n        '
    scores = self._run_parallel_func(KMeans._score, X, n_dims=1, delayed=False, output_futures=True)
    return ((- 1) * cp.sum((cp.asarray(self.client.compute(scores, sync=True)) * (- 1.0))))
Computes the inertia score for the trained KMeans centroids.

Parameters
----------
X : dask_cudf.Dataframe
    Dataframe to compute score

Returns
-------

Inertial score
@with_cupy_rmm
def score(self, X):
    '\n        Computes the inertia score for the trained KMeans centroids.\n\n        Parameters\n        ----------\n        X : dask_cudf.Dataframe\n            Dataframe to compute score\n\n        Returns\n        -------\n\n        Inertial score\n        '
    scores = self._run_parallel_func(KMeans._score, X, n_dims=1, delayed=False, output_futures=True)
    return ((- 1) * cp.sum((cp.asarray(self.client.compute(scores, sync=True)) * (- 1.0))))