上传者: 53500031
|
上传时间: 2023-01-04 13:26:07
|
文件大小: 6.29MB
|
文件类型: DOC
1.请拟合以下两组数据,用线性回归完成(Logistic回归、感知器或其他线性分类器的其中一种完成拟合即可)。
[x,y]=[(1,1),(2,3), (2,1),(1,0),(5,2),(4,0),(3,1),(4,3),(7,3)]
[x,y]=[[0.067732,3.176513],[0.427810,3.816464],[0.995731,4.550095],[0.738336,4.256571],[0.981083,4.560815],[0.526171,3.929515],[0.378887,3.526170],[0.033859,3.156393],[0.132791,3.110301],[0.138306,3.149813],[0.247809,3.476346],[0.648270,4.119688],[0.731209,4.282233],[0.236833,3.486582],[0.969788,4.655492],[0.607492,3.965162],[0.358622,3.514900],[0.147846,3.125947],[0.637820,4.09