摘要: 首先我们来看下面一组数据集: 前面的x1与x2都表示的是年收入和年龄这两个因素决定的是否买车的结果。 开始代码部分,我们先输入x和y的变量,开始输入数据: from sklearn import linear_model X=[[20,3], [23,7], [31,10], [42,13], [5 阅读全文
posted @ 2019-11-10 10:07 Geeksongs 阅读(4848) 评论(0) 推荐(0) 编辑

Coded by Geeksongs on Linux

All rights reserved, no one is allowed to pirate or use the document for other purposes.