1.安装anaconda和pycharm
配置pycharm中项目的解析器为anaconda安装包下的python.exe
helloworld:
import numpy
import matplotlib
import sklearn
import pandas
print("Hello, Machine Learning!")
输出:
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/1d4876357fafad826a3c5a2dd75f8293.png)
由于python原生的list性能低也不方便,所以使用numpy
Jupyter的使用
New了一个python3的file之后
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/20a1463f6957eff3505773bc80ed453b.png)
修改HelloML即是xxx.py的文件名
复杂一些,写个for
<