本文链接:https://blog.csdn.net/qq_36512295/article/details/86526799
MSE(均方误差)函数一般用来检测模型的预测值和真实值之间的偏差。
训练集:Train={(x1,y1),(x2,y2),...,(xn,yn),...,(xN,yN)}
N为训练样本总数,n=1,2,...,N。
测试集:Test={(x1,y1),(x2,y2),...,(xm,ym),...,(xM,yM)}
M为测试样本总数,m=1,2,....,M。
训练模型:f(x)
预测值(估计值):![]()











![已解决OSError: [WinError 6] 句柄无效。](https://img-blog.csdnimg.cn/a74f7d5d03234f7c8a635562034442a0.gif#pic_center)
![解决OSError: [Errno 98] Address already in use问题](https://img-blog.csdnimg.cn/445ad01aebb2478bb010a8093049ce42.png)

![报错OSError: [Errno 22] Invalid argument 的一种解决方法](https://img-blog.csdnimg.cn/412bf4cd5a204d69a52c7900d271e640.png)
![OSError[Errno 48]:Address already in use解决方法](https://img-blog.csdnimg.cn/20191227152238731.png)
