Closed YiranJing closed 4 years ago
是的,你猜的都对,我用多项式来画近似曲线,p[i]就是多项式的系数,它可以很好的预测未来几天,希望能帮到你
for (int i = 0; i < raw.Count; i++)
{
xx[i] = raw[i].x;
yy[i] = raw[i].y;
//Console.WriteLine(item.x + " " + item.y);
}
double[] p = Fit.Polynomial(xx, yy, 5);
@pxp1230 您用xx 和degree 最高到5来fit yy,请问 这个xx (raw.x) 和yy (raw,y) 是什么呢?
暗中观察,学习中
xx是点的横坐标数组,yy是点的纵坐标数组
我看明白了!谢谢!!
Hi @pxp1230,
Your model for 2019-nCoV looks good, want to learn from, but slightly confusing, so can you help me about these questions?
Only see a text like this:
Can you give me the interpretation of what p[i] are?
I guess these numbers are the coefficients in the model? how you turn the coefficients?
非常感激感谢如果您能解答!!