Geometric Facility Location Problems
Geometric Facility Location Problems
Geometric Facility Location Problems
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Given a set of data points (x 1<br />
, y 1<br />
), (x 2<br />
, y 2<br />
), …., (x n<br />
, y n<br />
) we have to find the<br />
equation of the straight line y = ax + b that minimizes the L 2<br />
error, i.e.,<br />
Minimize<br />
Here the variables are in fact a and b. So we have two unknowns and we<br />
require at least two equations to solve. They are obtained from the minima<br />
criterion after taking partial derivatives w.r.t. a and b respectively:<br />
The result can be extended for any dimensional data. For example in d<br />
dimensions we have to find the Regression Hyperplane a 1<br />
x 1<br />
+ a 2<br />
x 2<br />
+ … +<br />
a d<br />
x d<br />
= b. Thus we have to<br />
Minimize<br />
n<br />
∑<br />
i=<br />
1<br />
2<br />
[ yi − ( axi<br />
+ b)]<br />
=<br />
n<br />
∑<br />
i=<br />
1<br />
d<br />
[ b − ∑<br />
j=<br />
1<br />
a<br />
j<br />
∂E<br />
∂a<br />
x<br />
i<br />
j<br />
]<br />
2<br />
E<br />
∂E<br />
= 0 , = 0<br />
∂b<br />
=<br />
E