How to Get Close to the Median Shape
Abstract
Rpoly In this paper, we study the problem of L1-fitting a shape to a set of n points in d (where d is a fixed constant), where the target is to minimize the sum of distances of the points to the shape, or the sum of squared distances. We present a general technique for computing a (1 + ) -approximation for such a problem, with running time O(n + ( n, 1/)), where ( n, 1/) is a polynomial of constant degree of n and 1/ (the power of the polynomial is a function of d). The new algorithm runs in linear time for a fixed >0, and is the first subquadratic algorithm for this problem. Applications of the algorithm include best fitting either a circle, a sphere, or a cylinder to a set of points when minimizing the sum of distances (or squared distances) to the respective shape.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.