2021年11月4日
摘要: def linear3(): """ 岭回归对波士顿房价进行预测 :return: """ # 1)获取数据 boston = load_boston() print("特征数量:\n", boston.data.shape) # 2)划分数据集 x_train, x_test, y_train, 阅读全文
posted @ 2021-11-04 12:07 季昂 阅读(267) 评论(0) 推荐(0) 编辑