Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wealook/ml-visual-gradient-descent
https://github.com/wealook/ml-visual-gradient-descent
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/wealook/ml-visual-gradient-descent
- Owner: wealook
- Created: 2020-12-28T07:32:21.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-28T10:33:03.000Z (about 4 years ago)
- Last Synced: 2024-11-06T10:35:49.669Z (2 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 梯度下降优化
### 通过梯度下降,并结合一些优化方法使得训练模型时参数更快更好地收敛
#### 需要安装以下扩展
` numpy
matplotlib
seaborn
ipywidgets`
### 运行 **.py即可查看效果
+ #### 原始的梯度下降算法
` python visualize_adagrad.py `
+ #### 带动量的梯度下降算法
` python visualize_sgd_momentum.py `
+ ##### 带惯性的梯度下降算法
` python visualize_sgd_inertia.py `
+ #### Nesterov算法
` python visualize_sgd_inertia.py `
+ #### Adagrad自适应调整的梯度下降
` python visualize_adagrad.py `
+ #### RMSProp
` python visualize_adagrad.py `
+ #### Adam
` python visualize_adam.py `