Hi!

If you have points in , how can you find the "best fitting" hyperplane so that gets as small as possible?

is the distance from the hyperplane to the k:th point. If the equation of is , where is the normal of the hyperplane, then the distance is defined as