'Validation of y and class_weight.
Default implementation for SVR and one-class; overridden in BaseSVC.'

def _validate_targets(self, y):

    self.class_weight_ = np.empty(0)
    return column_or_1d(y, warn=True).astype(np.float64)
