03 2021 档案

摘要:import numpy as np # 矩阵计算函数库 import matplotlib.pyplot as plt # 可视化图像 from mpl_toolkits.mplot3d import Axes3D # 3维图 from sklearn.cluster import KMeans 阅读全文
posted @ 2021-03-21 17:20 XiaoGao128 阅读(238) 评论(0) 推荐(0)
摘要:import numpy as np import json import matplotlib.pyplot as plt#加载数据 def load_data(): #读入数据 datafile='data/housing.data' data=np.fromfile(datafile,sep= 阅读全文
posted @ 2021-03-17 10:13 XiaoGao128 阅读(209) 评论(0) 推荐(0)