Yes, why do you assume it isn't?

Johannes Schönberger

Am 30.08.2013 um 13:16 schrieb "Olivier Grisel" <notifications@github.com>:

> In sklearn/linear_model/ransac.py:
> 
> > +
> > +        X = atleast2d_or_csr(X)
> > +        y = np.asarray(y)
> > +
> > +        if y.ndim == 1:
> > +            y = y[:, None]
> > +
> > +        for n_trials in range(self.max_trials):
> > +
> > +            # choose random sample set
> > +            random_idxs = random_state.randint(0, n_samples, min_n_samples)
> > +            rsample_X = X[random_idxs]
> > +            rsample_y = y[random_idxs]
> > +
> > +            # check if random sample set is valid
> > +            if self.is_data_valid is not None and not self.is_data_valid(X, y):
> This comment is still valid isn't it?
> 
> —
> Reply to this email directly or view it on GitHub.