def fit_predict(self, X, delayed=True):
    '\n        Compute cluster centers and predict cluster index for each sample.\n\n        Parameters\n        ----------\n        X : Dask cuDF DataFrame or CuPy backed Dask Array\n            Data to predict\n\n        Returns\n        -------\n        result: Dask cuDF DataFrame or CuPy backed Dask Array\n            Distributed object containing predictions\n\n        '
    return self.fit(X).predict(X, delayed=delayed)
Compute cluster centers and predict cluster index for each sample.

Parameters
----------
X : Dask cuDF DataFrame or CuPy backed Dask Array
    Data to predict

Returns
-------
result: Dask cuDF DataFrame or CuPy backed Dask Array
    Distributed object containing predictions
def fit_predict(self, X, delayed=True):
    '\n        Compute cluster centers and predict cluster index for each sample.\n\n        Parameters\n        ----------\n        X : Dask cuDF DataFrame or CuPy backed Dask Array\n            Data to predict\n\n        Returns\n        -------\n        result: Dask cuDF DataFrame or CuPy backed Dask Array\n            Distributed object containing predictions\n\n        '
    return self.fit(X).predict(X, delayed=delayed)