CF Tool曲线拟合 误差很大。
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
有一组温度和色度的数据要拟合出他们的相关性曲线。数据已上传。X轴为色度Hue。Y轴为温度Temp.
用CF TOOL进行7阶多项式拟合。得到以下结果。曲线公式如下。
但是把算式用原来的X数据带回验算的时候,发现Y值误差很大。但是曲线明明重合的很好,这到底是为什么??
是数据不适合多项式模型拟合吗?
Linear model Poly7:
f(x) = p1*x^7 + p2*x^6 + p3*x^5 + p4*x^4 + p5*x^3 +
p6*x^2 + p7*x + p8
Coefficients (with 95% confidence bounds):
p1 = 5.973e+005 (4.565e+005, 7.38e+005)
p2 = -1.493e+006 (-1.883e+006, -1.103e+006)
p3 = 1.554e+006 (1.098e+006, 2.01e+006)
p4 = -8.712e+005 (-1.163e+006, -5.794e+005)
p5 = 2.839e+005 (1.736e+005, 3.941e+005)
p6 = -5.369e+004 (-7.826e+004, -2.912e+004)
p7 = 5454 (2467, 8441)
p8 = -194.4 (-347, -41.74)
Goodness of fit:
SSE: 0.4231
R-square: 0.9992
Adjusted R-square: 0.9992
RMSE: 0.04003

0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur 线性回归 dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!