Function Repository Resource:

LineFit

Source Notebook

Fit a line to data points in n-dimensional space

Contributed by: Sander Huisman

ResourceFunction["LineFit"][pts]

returns a Line that fits best through the points pts.

ResourceFunction["LineFit"][pts,"Association"]

returns an Association containing properties of the best fit line.

Details

The returned function in the Association will correspond to a domain of 0 to 1.
The best fit is determined by minimizing the sum of squares of distances from the points to the best-fit line.

Examples

Basic Examples (2) 

Fit a line in 2D:

In[1]:=
pts = CompressedData["
1:eJwVl3cgFY7XxmUL2VtcXOu6xnWneY+dIpJUkqREafgpviF7FC0atGyiSSpZ
dY9VGqQks5KyKiI74vX+df4+5zznOZ9HzfeImx83FxdX6iourv+vB7a+sohJ
m+aM8/3OzPcY4ni+m+yLCZMGO/5ksb10WdT9FHP+Cb8hvvtTzT43ygTz4ImA
72/qOEnrhyI4YVxo3t8RVi4tAcbvi6IsvNRQMtp25+9LJCz/j/RC3YUJN+QS
Eu106fhOEj0eylqDVktUWsx/hngv16shimoKtt31aooMZXCXCPi2VEBAj6xp
ieB5fQSuxnt5tUzoyP5FrnPWhUm3+C/Z2sZ4LCRdXewkEUM8Qg79mqDA2qEz
nWrGEnjgRMirqBwCDDgdIboMk5BLkVB8Ip4B56M3Tfqn0TFoYj7i2V2AQvfu
Cv5fRHRIkhOeTzaCO7Eth5PshTBotOIulkhDT6sc8wqvLgZqC23L2kUDZSG3
K+rFDKweknZsj7SGnn/Tz8qfC8PYrM2o7/k1aPaK5HfMfy3eCPGpe3tWB1r/
t26r2QV1kLFbxho7I3yQesihxZ6ADMPHDv/F6gK5sWRmtNsYP8rxbieuB9jS
6Zl/4Kwe/CmKyftlycKrWsfyroIEHmWz1utvIMDp2wXy15y48O3E2VdyKtKw
+87n6SOGfFCb4CVfv3OIczlu/dexBhZ+493B5Z5oB+WLuzVEhci4oNxzzi+e
CceC6bvHaDzw5zN5eTZcAYvCLCK0h0zQUS0297imLTw3JU9HLBIh3jRcq0+E
jhKmGm8GF4jgtVUgZDLLCFcNbsdAPk0ksfnqj2tSw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unction["LineFit"][pts]
Out[1]=

Compare the points and the fit:

In[2]:=
ListPlot[pts, Epilog -> {Red, fit}]
Out[2]=

Scope (2) 

Do a fit with points in 3D:

In[3]:=
pts = CompressedData["
1:eJwVl3c8FP4fx83MZO9x5xyHc+7Onc29jaT4UqiMVGREklGRKFJmaEoZZRSh
Uho03LslGYWsSqjQQoVKMn5+f33++fzxeXwe7/fr9XwS/Xe5BfLx8PAc4+Xh
4V86s1zO31beyoY9Ee+SeGOIeDlOpD3UTRtvPS2U6DphB7+0zfZfG6XhniR1
TzFxFi4HC4WaIRWkeN9UMHLhAYernAuiLZLwSvWyzjJnC3Czr0z5/omMLKdt
HwSu6GNnhtUBnccAfCW9TzaOGOJq4pOpcGsmGo2FDSWM2WHctn/D1yMY4BEs
NUepMQaGvJbIyAV1PHfa61i4oAjcsTzl1FcsBFVjXWmlfmy0MV/fKhJGBHHn
jwwpGy2I8QcBGKdDRlimdBJRAwvayx2HKrUwb3rFNkKWEYoI+9Fa1pFh6M+Y
jGOyOvh7r+71i9FDS+oXI83vInBrjxD9lacq2J3fp8xjZAsTaZ1z8lsYqP7U
ythgkoUUA0/qYp0+Dn2Tp41GqUD8tv3vijapgF9UIBYDExN4Xjk4XCUAZcGu
6DedDIW+nhfjDtJRX/RYZ1+3GmydTr21Zg0RLldxo0I3kiCUvJWQGiuLqe89
D7Mj5HB4XjH2p5ARfFh5L9F/BxGDXpCCREs0UW+tZJuyJxvqArLiym4TcfNE
NkfQQxvHGJFNUrt00XR/N4lF14CyzT0PD3tpgoeG7YnGJAvA/PqLxgNaeG0+
xXW6nYpeltnWGleYcLP21p3vy4lo7DUdqreMjCf/+zgXFWmH7769z3xaTwfL
qaFJBssETuZOy6elyQJr5f7afZLCaKzT+av9rQxWpV8x3phqD4mJ79nXD9Hw
xDHagQ4tFuZNqqRuz2fC5J+nA9G7NNC/2+PqU3cy3h6uyDopaA8tZ+oVr9cy
kNQTFj1yi41vH47e/YWm8NxIv8W7TwsfqlbEpwrpY9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c29qpGVwrvUpzXiMgum
EsoQzvmuTFn6z+YrabXVsUpYe/eqyp07AvAm6aG1yjcBaDTcEV9tYYyvM3sf
NYWToWvVa+07Z7Wh1cehLDXZDu2d99roOf4/Z5sj+FVZsHlNUL+ogDl4ftqu
1H6UjG0XYiYPS+qjYEeTqtkzAtpc95166yQK3Wsd+JK6RSFA0b57FYkF/XGx
yfe6CKi2O+DNxpsULCSOg8qCMWrJzJno2JDhqyUlbUcDGShuz+up28Qw3Og2
oSlfCApyK4/IUCVBf/FZ+nyTJYSJNrNm4/RQIOhFtWcRDW/pfH9zUJ+GPn/u
TVKfqcC/v+XntzarQ39+/dudgnY4aij9+OTXJf/4o7ZCMZcF684e3Jz51wIk
xr/vi7DQRX1P0Va2nD6uY2UqTOjZAhb/C+Qk0vHbtymvH11GGFFdeYVlQYAf
X9fRbNb/5nae3iSYHCWFRpwTkTuy6aCgQ+/eNa6I6iFzEst2E3GffkD5rSXv
SKJlOsSqqGBfXXFe8SVtLG03Nx/TMcZqBgysfqsNGZNf3r+ro0CsUHhFZJMQ
TDrvrXe3meGu7xA1WfjIi9nRbs9i/W1ReFXZ3qA+KpxlRJQYeS5xxvDqSnF1
MnyUG5vnXyWHJj7GVjYZqlj150bLCzDB5EHJKqdwEny4z9h4foIMHqUteVor
zLGy5Hwg7tKBZ04l0vaheuC+Sp/0ttgS3LddJM6f1MXyoyU/HpvS0NncSLHp
ny5mpvLZWVxTAZdb20wj6Eqw96XxPV8JG1BwNbCV8aBj/0DZ80hnBv4PSRlJ
/g==
"];
fit = ResourceFunction["LineFit"][pts];
Graphics3D[{Point[pts], Red, Thick, fit}]
Out[3]=

Get a Dataset with all the fitting details:

In[4]:=
pts = CompressedData["
1:eJwVl3c8FP4fx83MZO9x5xyHc+7Onc29jaT4UqiMVGREklGRKFJmaEoZZRSh
Uho03LslGYWsSqjQQoVKMn5+f33++fzxeXwe7/fr9XwS/Xe5BfLx8PAc4+Xh
4V86s1zO31beyoY9Ee+SeGOIeDlO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oSlfCApyK4/IUCVBf/FZ+nyTJYSJNrNm4/RQIOhFtWcRDW/pfH9zUJ+GPn/u
TVKfqcC/v+XntzarQ39+/dudgnY4aij9+OTXJf/4o7ZCMZcF684e3Jz51wIk
xr/vi7DQRX1P0Va2nD6uY2UqTOjZAhb/C+Qk0vHbtymvH11GGFFdeYVlQYAf
X9fRbNb/5nae3iSYHCWFRpwTkTuy6aCgQ+/eNa6I6iFzEst2E3GffkD5rSXv
SKJlOsSqqGBfXXFe8SVtLG03Nx/TMcZqBgysfqsNGZNf3r+ro0CsUHhFZJMQ
TDrvrXe3meGu7xA1WfjIi9nRbs9i/W1ReFXZ3qA+KpxlRJQYeS5xxvDqSnF1
MnyUG5vnXyWHJj7GVjYZqlj150bLCzDB5EHJKqdwEny4z9h4foIMHqUteVor
zLGy5Hwg7tKBZ04l0vaheuC+Sp/0ttgS3LddJM6f1MXyoyU/HpvS0NncSLHp
ny5mpvLZWVxTAZdb20wj6Eqw96XxPV8JG1BwNbCV8aBj/0DZ80hnBv4PSRlJ
/g==
"];
Dataset[ResourceFunction["LineFit"][pts, "Association"]]
Out[4]=

Properties and Relations (2) 

Compare the result of LineFit with the result of computing the orthogonal fit through the definition:

In[5]:=
pts = CompressedData["
1:eJwVl3c8FP4fx83MZO9x5xyHc+7Onc29jaT4UqiMVGREklGRKFJmaEoZZRSh
Uho03LslGYWsSqjQQoVKMn5+f33++fzxeXwe7/fr9XwS/Xe5BfLx8PAc4+Xh
4V86s1zO31beyoY9Ee+SeGOIeDlOpD3UTRtvPS2U6DphB7+0zfZfG6XhniR1
TzFxFi4HC4WaIRWkeN9UMHLhAYernAuiLZLwSvWyzjJnC3Czr0z5/omMLKdt
HwSu6GNnhtUBnccAfCW9TzaOGOJq4pOpcGsmGo2FDSWM2WHctn/D1yMY4BEs
NUepMQaGvJbIyAV1PHfa61i4oAjcsTzl1FcsBFVjXWmlfmy0MV/fKhJGBHHn
jwwpGy2I8QcBGKdDRlimdBJRAwvayx2HKrUwb3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SqqGBfXXFe8SVtLG03Nx/TMcZqBgysfqsNGZNf3r+ro0CsUHhFZJMQ
TDrvrXe3meGu7xA1WfjIi9nRbs9i/W1ReFXZ3qA+KpxlRJQYeS5xxvDqSnF1
MnyUG5vnXyWHJj7GVjYZqlj150bLCzDB5EHJKqdwEny4z9h4foIMHqUteVor
zLGy5Hwg7tKBZ04l0vaheuC+Sp/0ttgS3LddJM6f1MXyoyU/HpvS0NncSLHp
ny5mpvLZWVxTAZdb20wj6Eqw96XxPV8JG1BwNbCV8aBj/0DZ80hnBv4PSRlJ
/g==
"];
fit1 = ResourceFunction["LineFit"][pts];
fit2 = InfiniteLine @@ Partition[
    NArgMin[Total[
      RegionDistance[
          InfiniteLine[{px, py, pz}, {vx, vy, vz}], #]^2 & /@ pts], {px, py, pz, vx, vy, vz}], 3];
In[6]:=
Simplify[RegionMember[fit1, {x, y, z}], {x, y, z} \[Element] Reals]
Out[6]=
In[7]:=
Simplify[RegionMember[fit2, {x, y, z}], {x, y, z} \[Element] Reals]
Out[7]=

The one-argument case of LineFit is equivalent to the resource function OrthogonalLineFit:

In[8]:=
pts = CompressedData["
1:eJwVl3cgFY7XxmUL2VtcXOu6xnWneY+dIpJUkqREafgpviF7FC0atGyiSSpZ
dY9VGqQks5KyKiI74vX+df4+5zznOZ9HzfeImx83FxdX6iourv+vB7a+sohJ
m+aM8/3OzPcY4ni+m+yLCZMGO/5ksb10WdT9FHP+Cb8hvvtTzT43ygTz4ImA
72/qOEnrhyI4YVxo3t8RVi4tAcbvi6IsvNRQMtp25+9LJCz/j/RC3YUJN+QS
Eu106fhOEj0eylqDVktUWsx/hngv16shimoKtt31aooMZXCXCPi2VEBAj6xp
ieB5fQSuxnt5tUzoyP5FrnPWhUm3+C/Z2sZ4LCRdXewkEUM8Qg79mqDA2qEz
nWrGEnjgRMirqBwCDDgdIboMk5BLkVB8Ip4B56M3Tfqn0TFoYj7i2V2AQvfu
Cv5fRHRIkhOeTzaCO7Eth5PshTBotOIulkhDT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7GQmKGuabb4pEpPodI7ztek
oKVHCwYwGWgzGB5ggn2Zl8yfe8pizIyPz9URIkRFy2ZclhaHp/e8AumGCtjX
oGYrUSKO9MgYck2LBnR/DpQxfW0EBUq+fTwhTKzSmDrRlspE+tVRx1+fbKB9
S5Bg/h1DYOelq0fQTZCkOv1qc7IR5tkn2jPdzIB0LNVt12o5TO90S6iPJ8K7
bOncxAl1EH7ILf4jzBh5/81re12g4Mt1SXwnlMzAKd61xewJCQZXLXbXxlPx
5BnXK1RFVRx9O/aQUEaEbx2TM2nmarCZh2nMn2uEng+Hx4lyVFS+fbPpdjob
GnoTpprkGHi6qncQf1rD/wHgXZIn
"];
fit1 = ResourceFunction["LineFit"][pts];
fit2 = ResourceFunction["OrthogonalLineFit"][pts];
In[9]:=
Simplify[RegionMember[fit1, {x, y}], {x, y} \[Element] Reals]
Out[9]=
In[10]:=
Simplify[RegionMember[fit2, {x, y}], {x, y} \[Element] Reals]
Out[10]=

Possible Issues (3) 

All points have to be numeric:

In[11]:=
ResourceFunction["LineFit"][{{1, 1}, {2, 3}, {2, b}}]
Out[11]=

All points have to be in the same dimension:

In[12]:=
ResourceFunction["LineFit"][{{1, 1}, {2, 3}, {1, 2, 3}}]
Out[12]=

Real numbers have to be used:

In[13]:=
ResourceFunction["LineFit"][{{1, 1}, {2, 3}, {1, 2 + I}}]
Out[13]=

Neat Examples (1) 

Do a fit in 10D:

In[14]:=
SeedRandom[1234];
n = 10;
m = 200;
a = Normalize[RandomVariate[NormalDistribution[], n]];
t = RandomVariate[NormalDistribution[0, 10], m];
pts = # a & /@ t;
pts += RandomVariate[NormalDistribution[0, 1], {m, n}];
ResourceFunction["LineFit"][pts, "Association"]
Out[14]=

Publisher

SHuisman

Version History

  • 2.0.0 – 25 May 2021

Related Resources

License Information