[西瓜书]——第三章部分编程答案
第三章线性模型实验课本次实验课内容对应教材的课后习题P69,3.3,3.5题。3.3????import numpy as np# 西瓜数据集X = np.mat([[0.697, 0.460, 1], [0.774, 0.376, 1], [0.634, 0.264, 1], [0.608, 0.318, 1], [0.556, 0.215, 1], [0.403, 0.237, 1], [0.481, 0.149, 1], [0.437, 0.211, 1].