W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
demo_python_ml_traintest_1.py:
import numpy import matplotlib.pyplot as plt numpy.random.seed(2) x = numpy.random.normal(3, 1, 100) y = numpy.random.normal(150, 40, 100) / x plt.scatter(x, y) plt.show()
C:\Users\My Name>python demo_python_ml_traintest_1.py