numpy-snippets icon indicating copy to clipboard operation
numpy-snippets copied to clipboard

Not sampling the correct number of samples in Ransac example

Open Pibben opened this issue 5 years ago • 0 comments

https://github.com/ahojnnes/numpy-snippets/blob/7852d2d8ac6ee28449e59964933378bbb339a876/ransac.py#L66

Should be sample = data[np.random.randint(0, data.shape[0], min_samples)]

Pibben avatar Apr 06 '20 12:04 Pibben