标签:load 技术 learn atp color print imp 分享 plot
from sklearn.datasets import load_boston boston = load_boston() print(boston.keys()) data = boston.data x = data[:,5] y = boston.target import matplotlib.pyplot as plt plt.scatter(x,y) plt.plot(x,9*x-30) plt.show()
from sklearn.datasets import load_boston boston = load_boston() print(boston.keys()) data = boston.data x = data[:,6] y = boston.target import matplotlib.pyplot as plt plt.scatter(x,y) plt.plot(x,9*x-30) plt.show()
from sklearn.datasets import load_boston boston = load_boston() print(boston.keys()) data = boston.data x = data[:,10] y = boston.target import matplotlib.pyplot as plt plt.scatter(x,y) plt.plot(x,9*x-30) plt.show()
from sklearn.datasets import load_boston boston = load_boston() print(boston.keys()) data = boston.data x = data[:,7] y = boston.target import matplotlib.pyplot as plt plt.scatter(x,y) plt.plot(x,9*x-30) plt.show()
from sklearn.datasets import load_boston boston = load_boston() print(boston.keys()) data = boston.data x = data[:,9] y = boston.target import matplotlib.pyplot as plt plt.scatter(x,y) plt.plot(x,9*x-30) plt.show()
from sklearn.datasets import load_boston boston = load_boston() print(boston.keys()) data = boston.data x = data[:,8] y = boston.target import matplotlib.pyplot as plt plt.scatter(x,y) plt.plot(x,9*x-30) plt.show()
标签:load 技术 learn atp color print imp 分享 plot
原文地址:https://www.cnblogs.com/a1234tt/p/10094748.html