def predict(self, X):
check_rdd(X, (sp.spmatrix, np.ndarray))<EOL>return self._spark_predict(SparkSGDClassifier, X)<EOL>
Distributed method to predict class labels for samples in X.

        Parameters
        ----------
        X : ArrayRDD containing {array-like, sparse matrix}
            Samples.

        Returns
        -------
        C : ArrayRDD
            Predicted class label per sample.