Overview
RANSAC handles outliers by testing many minimal hypotheses and scoring each by how many data points agree with it.
Fits a model by repeatedly sampling small subsets and keeping the model with the most inliers.
Compact metadata for implementation and discovery.
RANSAC handles outliers by testing many minimal hypotheses and scoring each by how many data points agree with it.
Quick facts
Runtime and memory behavior at a glance.
Best
O(sample cost)
Average
O(iterations * n)
Worst
O(iterations * n)
Space
O(n)
N = log(1 - confidence) / log(1 - inlier_ratio^sample_size)Estimates how many random trials are needed for a desired success probability.
Plot candidate points, objective values, and improvement steps across iterations.
RANSAC should be used with the assumptions and tradeoffs of robust Estimation in mind.
What each reference supports for this entry.
Original RANSAC paper for robust model fitting from contaminated data.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
RANSAC can fit models robustly when outliers would distort ordinary regression.