numpy-snippets
numpy-snippets copied to clipboard
Not sampling the correct number of samples in Ransac example
https://github.com/ahojnnes/numpy-snippets/blob/7852d2d8ac6ee28449e59964933378bbb339a876/ransac.py#L66
Should be sample = data[np.random.randint(0, data.shape[0], min_samples)]