可视化 | Logistic回归可视化主要代码 发表于 2021-03-11 更新于 2024-07-11 分类于 AI , 机器学习 , 可视化(Visualization) , Logistic回归可视化主要代码 Logistic回归可视化主要代码import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(111) ax.scatter(xcord1,ycord1,s=20,c='red',marker='s',alpha=0.5) ax.plot(x,y) plt.title() plt.xlabel() plt.ylabel() plt.show()