https://github.com/thisisgame/learnpaddlepaddle
https://github.com/thisisgame/learnpaddlepaddle
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thisisgame/learnpaddlepaddle
- Owner: ThisisGame
- Created: 2024-07-25T16:53:52.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-31T17:12:37.000Z (almost 2 years ago)
- Last Synced: 2025-01-19T19:53:03.888Z (over 1 year ago)
- Language: Python
- Size: 813 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# learnpaddlepaddle
确保用管理员打开CMD
1.安装paddlepaddle
https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/develop/install/pip/windows-pip.html
选择
3.0-beta
windows
pip
cpu
2.手写数字识别
https://www.paddlepaddle.org.cn/documentation/docs/zh/guides/beginner/quick_start_cn.html
这个文档里有些问题,
```
# 使用 pip 工具安装 matplotlib 和 numpy
! python3 -m pip install matplotlib numpy -i https://mirror.baidu.com/pypi/simple
```
这里的`!`是多余的,这个 `https://mirror.baidu.com/pypi/simple` 也访问不了,正确到的安装命令是:
```
python -m pip install matplotlib numpy -i https://pypi.tuna.tsinghua.edu.cn/simple/
```
然后就是最后显示数字图片
```
plt.imshow(img[0])
```
这样打不开显示图片的窗口的,完整的是
```
# 可视化图片
from matplotlib import pyplot as plt
plt.imshow(img[0])
# 显示图像窗口,并保持打开状态
plt.show()
```
3.出租车价钱线性推理
https://www.paddlepaddle.org.cn/documentation/docs/zh/practices/quick_start/hello_paddle.html
4.房价预测
https://www.paddlepaddle.org.cn/documentation/docs/zh/practices/quick_start/linear_regression.html
安装pandas
```
python -m pip install pandas -i https://pypi.tuna.tsinghua.edu.cn/simple/
```
下载数据集
```
https://archive.ics.uci.edu/ml/machine-learning-databases/housing/housing.data
```