![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1269555/image.png)
Minimize the Sum of Square error using optimization
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to minimize the SSE using optimization: Suppose the expression is ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1269535/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1269535/image.png)
where Q_r is the given set of data, u_r, v_r \in [0,1], and
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1269540/image.png)
If we choose m=n=3, then the P_i,j (control point) in 2nd expression of Main equation shoud be 16. So, it mean we have 16 unkown control points. How we can setup an objective function and optimization setup that the E (SSE) is minimum by finiding best P_i,j.
0 Kommentare
Antworten (1)
Matt J
am 20 Jan. 2023
Bearbeitet: Matt J
am 20 Jan. 2023
I think you can do the whole optimization analytically. In particular, rewrite E as,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1269555/image.png)
where A and B are r*m and n*r matrices poopulated using Ψ. Then the analytical solution is given by,
K=kron(B.',A);
P=reshape( K(1:r+1:end,:)\Q ,r,r);
0 Kommentare
Siehe auch
Kategorien
Mehr zu Problem-Based Optimization Setup finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!