I have a number of coordinates. The coordinates are gathered from noisy gps-data. I need a way of discovering the path that the coordinates are describing. The data is gathered over a long time, so just drawing through all the points isn't a solution. Instead I need to find a curve that is in the center of the point cloud, without necessarily going through any of the points.
I also need to find the start and end points of the path, so just doing a linear regression isn't possible.
I've looked at the problem and figured out that this seems to be called a principal curve. This is a complex problem, but there are known algorithms to figure it out.
Writing the whole algorithm from scratch seems unnecessarily complicated to me, so I was wondering if there is some library that can do this?