Linefitting to 6 dimensional points

26 Views Asked by At

I would like to find a line best-fitting an arbitrary set of input points in 6 dimensions. Is there an efficient algorithm to accomplish this. Does the usual linear least square approach work here?