def predict(self, test): """ Predict values for a single data point or an RDD of points using the model trained. """ raise NotImplementedError