Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: linushao/tutorials
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: MorvanZhou/tutorials
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.

Commits on Mar 22, 2017

  1. upload lunarlander

    MorvanZhou committed Mar 22, 2017
    Copy the full SHA
    b003c64 View commit details
  2. update sklearn code

    MorvanZhou committed Mar 22, 2017
    Copy the full SHA
    2098826 View commit details
  3. update sklearn code

    MorvanZhou committed Mar 22, 2017
    Copy the full SHA
    36e4218 View commit details
  4. fix typo

    MorvanZhou committed Mar 22, 2017
    Copy the full SHA
    db7ccb5 View commit details

Commits on Mar 27, 2017

  1. add new

    MorvanZhou committed Mar 27, 2017
    Copy the full SHA
    75c492b View commit details

Commits on Mar 29, 2017

  1. add new

    MorvanZhou committed Mar 29, 2017
    Copy the full SHA
    7eb220d View commit details

Commits on Mar 30, 2017

  1. works good

    MorvanZhou committed Mar 30, 2017
    Copy the full SHA
    aff8654 View commit details
  2. improve code

    MorvanZhou committed Mar 30, 2017
    Copy the full SHA
    d69946d View commit details
  3. improve code

    MorvanZhou committed Mar 30, 2017
    Copy the full SHA
    4ee797b View commit details

Commits on Apr 1, 2017

  1. improve code

    MorvanZhou committed Apr 1, 2017
    Copy the full SHA
    ff2f5ce View commit details
  2. improve code

    MorvanZhou committed Apr 1, 2017
    Copy the full SHA
    3ddf676 View commit details
  3. backup old method

    MorvanZhou committed Apr 1, 2017
    Copy the full SHA
    ccbd460 View commit details
  4. backup old method

    MorvanZhou committed Apr 1, 2017
    Copy the full SHA
    bd14296 View commit details
  5. fix bug

    MorvanZhou committed Apr 1, 2017
    Copy the full SHA
    29c4c9a View commit details

Commits on Apr 3, 2017

  1. improve

    MorvanZhou committed Apr 3, 2017
    Copy the full SHA
    9352eec View commit details
  2. improve

    MorvanZhou committed Apr 3, 2017
    Copy the full SHA
    f52983e View commit details
  3. improve

    MorvanZhou committed Apr 3, 2017
    Copy the full SHA
    097c45e View commit details

Commits on Apr 4, 2017

  1. improve

    MorvanZhou committed Apr 4, 2017
    Copy the full SHA
    f4340de View commit details
  2. improve

    MorvanZhou committed Apr 4, 2017
    Copy the full SHA
    568843d View commit details

Commits on Apr 5, 2017

  1. fix state passing issue

    MorvanZhou committed Apr 5, 2017
    Copy the full SHA
    ff91f0a View commit details

Commits on Apr 6, 2017

  1. add data normalization

    morvan authored and MorvanZhou committed Apr 6, 2017
    Copy the full SHA
    c642d28 View commit details

Commits on Apr 9, 2017

  1. take mean of a_grads

    MorvanZhou committed Apr 9, 2017
    Copy the full SHA
    b8c586e View commit details
  2. take mean of a_grads

    MorvanZhou committed Apr 9, 2017
    Copy the full SHA
    a4877b8 View commit details
  3. take mean of a_grads

    MorvanZhou committed Apr 9, 2017
    Copy the full SHA
    017072e View commit details

Commits on Apr 10, 2017

  1. take mean of a_grads

    MorvanZhou committed Apr 10, 2017
    Copy the full SHA
    c3c0888 View commit details

Commits on Apr 11, 2017

  1. take mean of a_grads

    MorvanZhou committed Apr 11, 2017
    Copy the full SHA
    ffb4299 View commit details
  2. take mean of a_grads

    MorvanZhou committed Apr 11, 2017
    Copy the full SHA
    3253cc8 View commit details
  3. edit

    MorvanZhou committed Apr 11, 2017
    Copy the full SHA
    0205c4e View commit details
  4. edit

    MorvanZhou committed Apr 11, 2017
    Copy the full SHA
    6b7e92b View commit details
  5. edit

    MorvanZhou committed Apr 11, 2017
    Copy the full SHA
    f1632a7 View commit details

Commits on Apr 13, 2017

  1. add robot arm

    MorvanZhou committed Apr 13, 2017
    Copy the full SHA
    f3a8855 View commit details
  2. add robot arm

    MorvanZhou committed Apr 13, 2017
    Copy the full SHA
    71ba0f1 View commit details
  3. add robot arm

    MorvanZhou committed Apr 13, 2017
    Copy the full SHA
    34adec7 View commit details
  4. add robot arm

    MorvanZhou committed Apr 13, 2017
    Copy the full SHA
    d148f1f View commit details

Commits on Apr 15, 2017

  1. edit

    MorvanZhou committed Apr 15, 2017
    Copy the full SHA
    2c407db View commit details
  2. edit

    MorvanZhou committed Apr 15, 2017
    Copy the full SHA
    c27ed37 View commit details

Commits on Apr 17, 2017

  1. edit

    MorvanZhou committed Apr 17, 2017
    Copy the full SHA
    9910677 View commit details
  2. edit

    MorvanZhou committed Apr 17, 2017
    Copy the full SHA
    f8fc260 View commit details

Commits on Apr 19, 2017

  1. support

    MorvanZhou committed Apr 19, 2017
    Copy the full SHA
    ebcf2c8 View commit details
  2. support

    MorvanZhou committed Apr 19, 2017
    Copy the full SHA
    c47b32d View commit details
  3. support

    MorvanZhou committed Apr 19, 2017
    Copy the full SHA
    96adef6 View commit details
  4. support

    MorvanZhou committed Apr 19, 2017
    Copy the full SHA
    711e9c0 View commit details
  5. support

    MorvanZhou committed Apr 19, 2017
    Copy the full SHA
    4634da8 View commit details
  6. support

    MorvanZhou committed Apr 19, 2017
    Copy the full SHA
    3a695a4 View commit details

Commits on Apr 25, 2017

  1. edit

    MorvanZhou committed Apr 25, 2017
    Copy the full SHA
    6736c92 View commit details

Commits on Apr 26, 2017

  1. edit

    MorvanZhou committed Apr 26, 2017
    Copy the full SHA
    191104a View commit details
  2. edit

    MorvanZhou committed Apr 26, 2017
    Copy the full SHA
    3b34ef7 View commit details
  3. edit

    MorvanZhou committed Apr 26, 2017
    Copy the full SHA
    63c21df View commit details

Commits on Apr 27, 2017

  1. update code

    MorvanZhou committed Apr 27, 2017
    Copy the full SHA
    1879c68 View commit details

Commits on Apr 28, 2017

  1. update torch tutorial code

    MorvanZhou committed Apr 28, 2017
    Copy the full SHA
    f2b9240 View commit details
Showing with 1,807 additions and 54,568 deletions.
  1. +21 −0 LICENCE
  2. +41 −37 README.md
  3. +0 −107 Reinforcement_learning_TUT/1_command_line_reinforcement_learning/treasure_on_right.py
  4. +0 −51 Reinforcement_learning_TUT/2_Q_Learning_maze/RL_brain.py
  5. +0 −129 Reinforcement_learning_TUT/2_Q_Learning_maze/maze_env.py
  6. +0 −53 Reinforcement_learning_TUT/2_Q_Learning_maze/run_this.py
  7. +0 −77 Reinforcement_learning_TUT/3_Sarsa_maze/RL_brain.py
  8. +0 −130 Reinforcement_learning_TUT/3_Sarsa_maze/maze_env.py
  9. +0 −52 Reinforcement_learning_TUT/3_Sarsa_maze/run_this.py
  10. +0 −93 Reinforcement_learning_TUT/4_Sarsa_lambda_maze/RL_brain.py
  11. +0 −130 Reinforcement_learning_TUT/4_Sarsa_lambda_maze/maze_env.py
  12. +0 −52 Reinforcement_learning_TUT/4_Sarsa_lambda_maze/run_this.py
  13. +0 −163 Reinforcement_learning_TUT/5.1_Double_DQN/RL_brain.py
  14. +0 −77 Reinforcement_learning_TUT/5.1_Double_DQN/run_Pendulum.py
  15. +0 −300 Reinforcement_learning_TUT/5.2_Prioritized_Replay_DQN/RL_brain.py
  16. +0 −80 Reinforcement_learning_TUT/5.2_Prioritized_Replay_DQN/run_MountainCar.py
  17. +0 −165 Reinforcement_learning_TUT/5.3_Dueling_DQN/RL_brain.py
  18. +0 −86 Reinforcement_learning_TUT/5.3_Dueling_DQN/run_Pendulum.py
  19. +0 −173 Reinforcement_learning_TUT/5_Deep_Q_Network/DQN_modified.py
  20. +0 −213 Reinforcement_learning_TUT/5_Deep_Q_Network/RL_brain.py
  21. +0 −130 Reinforcement_learning_TUT/5_Deep_Q_Network/maze_env.py
  22. +0 −61 Reinforcement_learning_TUT/5_Deep_Q_Network/run_this.py
  23. +0 −213 Reinforcement_learning_TUT/6_OpenAI_gym/RL_brain.py
  24. +0 −62 Reinforcement_learning_TUT/6_OpenAI_gym/run_CartPole.py
  25. +0 −61 Reinforcement_learning_TUT/6_OpenAI_gym/run_MountainCar.py
  26. +0 −124 Reinforcement_learning_TUT/7_Policy_gradient_softmax/RL_brain.py
  27. +0 −69 Reinforcement_learning_TUT/7_Policy_gradient_softmax/run_CartPole.py
  28. +0 −76 Reinforcement_learning_TUT/7_Policy_gradient_softmax/run_MountainCar.py
  29. +0 −171 Reinforcement_learning_TUT/8_Actor_Critic_Advantage/AC_CartPole.py
  30. +0 −179 Reinforcement_learning_TUT/8_Actor_Critic_Advantage/AC_continue_Pendulum.py
  31. +0 −254 Reinforcement_learning_TUT/9_Deep_Deterministic_Policy_Gradient_DDPG/DDPG.py
  32. +0 −158 ...ing_TUT/Function_approximation_with_eligibility_trace/Eligibility_trace_function_approximation.py
  33. +0 −130 Reinforcement_learning_TUT/Function_approximation_with_eligibility_trace/maze_env.py
  34. +0 −50 Reinforcement_learning_TUT/Function_approximation_with_eligibility_trace/run_CartPole.py
  35. +37 −21 Reinforcement_learning_TUT/README.md
  36. +0 −194 Reinforcement_learning_TUT/experiments/Sovle_LunarLander/DQN.py
  37. +0 −307 Reinforcement_learning_TUT/experiments/Sovle_LunarLander/DuelingDQNPrioritizedReplay.py
  38. +0 −75 Reinforcement_learning_TUT/experiments/Sovle_LunarLander/run_LunarLander.py
  39. +648 −0 basic/.ipynb_checkpoints/36_regex-checkpoint.ipynb
  40. +9 −6 basic/35_set.py
  41. +110 −0 basic/36_RegEx.py
  42. +648 −0 basic/36_regex.ipynb
  43. BIN gitTUT/for_gitTUT_2-2.zip
  44. BIN gitTUT/for_gitTUT_3-1.zip
  45. BIN gitTUT/for_gitTUT_3-2.zip
  46. BIN gitTUT/for_gitTUT_4-1.zip
  47. BIN gitTUT/for_gitTUT_4-2.zip
  48. BIN gitTUT/for_gitTUT_4-3.zip
  49. BIN gitTUT/for_gitTUT_4-4.zip
  50. BIN gitTUT/for_gitTUT_5-1.zip
  51. +1 −1 kerasTUT/10-save.py
  52. +1 −1 kerasTUT/2-installation.py
  53. +1 −1 kerasTUT/3-backend.py
  54. +4 −3 kerasTUT/4-regressor_example.py
  55. +4 −4 kerasTUT/5-classifier_example.py
  56. +19 −19 kerasTUT/6-CNN_example.py
  57. +3 −3 kerasTUT/7-RNN_Classifier_example.py
  58. +1 −1 kerasTUT/8-RNN_LSTM_Regressor_example.py
  59. +2 −2 kerasTUT/9-Autoencoder_example.py
  60. +33 −10 kerasTUT/README.md
  61. +47 −28 matplotlibTUT/README.md
  62. +4 −4 matplotlibTUT/plt7_legend.py
  63. +3 −2 matplotlibTUT/plt9_tick_visibility.py
  64. +37 −0 pyTorch tutorial/README.md
  65. +0 −45,212 real world examples/bank_marketing_learning/bank-full.csv
  66. +0 −70 real world examples/bank_marketing_learning/bank-names.txt
  67. +0 −4,522 real world examples/bank_marketing_learning/bank.csv
  68. +0 −105 real world examples/bank_marketing_learning/bank_marketing_sk.py
  69. +0 −24 real world examples/bank_marketing_learning/bank_marketing_tfnn.py
  70. +1 −1 sklearnTUT/sk4_learning_pattern.py
  71. +1 −1 sklearnTUT/sk7_normalization.py
  72. +69 −0 tensorflowTUT/README.md
  73. BIN tensorflowTUT/logo.jpeg
  74. +2 −2 tensorflowTUT/tensorflow8_feeds.py
  75. +1 −1 tensorflowTUT/tf15_tensorboard/full_code.py
  76. BIN tensorflowTUT/tf15_tensorboard/logs/events.out.tfevents.1494075549.Morvan
  77. +1 −2 tensorflowTUT/tf17_dropout/full_code.py
  78. +1 −1 tensorflowTUT/tf18_CNN2/full_code.py
  79. +1 −1 tensorflowTUT/tf18_CNN3/full_code.py
  80. +7 −6 tensorflowTUT/tf20_RNN2.2/full_code.py
  81. BIN tensorflowTUT/tf20_RNN2.2/logs/events.out.tfevents.1490697566.Morvan
  82. BIN tensorflowTUT/tf20_RNN2.2/logs/events.out.tfevents.1490697588.Morvan
  83. BIN tensorflowTUT/tf20_RNN2.2/logs/events.out.tfevents.1493818356.Morvan
  84. BIN tensorflowTUT/tf20_RNN2.2/logs/events.out.tfevents.1493818411.Morvan
  85. BIN tensorflowTUT/tf20_RNN2.2/logs/events.out.tfevents.1493818762.Morvan
  86. BIN tensorflowTUT/tf20_RNN2.2/logs/events.out.tfevents.1509756112.Morvan
  87. BIN tensorflowTUT/tf20_RNN2.2/logs/events.out.tfevents.1509756156.Morvan
  88. BIN tensorflowTUT/tf20_RNN2/MNIST_data/t10k-images-idx3-ubyte.gz
  89. BIN tensorflowTUT/tf20_RNN2/MNIST_data/t10k-labels-idx1-ubyte.gz
  90. BIN tensorflowTUT/tf20_RNN2/MNIST_data/train-images-idx3-ubyte.gz
  91. BIN tensorflowTUT/tf20_RNN2/MNIST_data/train-labels-idx1-ubyte.gz
  92. +5 −5 tensorflowTUT/tf20_RNN2/full_code.py
  93. +1 −1 tensorflowTUT/tf21_autoencoder/full_code.py
  94. +6 −6 tensorflowTUT/tf22_scope/tf22_RNN_scope.py
  95. +1 −1 tensorflowTUT/tf22_scope/tf22_scope.py
  96. +1 −1 tensorflowTUT/tf23_BN/tf23_BN.py
  97. +0 −2 tensorflowTUT/tf5_example2/full_code.py
  98. +31 −13 theanoTUT/README.md
  99. BIN tkinterTUT/ins.gif
  100. +4 −3 tkinterTUT/tk11_msgbox.py
21 changes: 21 additions & 0 deletions LICENCE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2017

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
78 changes: 41 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,41 @@
# 关于 莫烦Python
这个 github 是我做 python 机器学习视频教程的支柱. 里面都是视频中提到的代码源码. 主要做的方面是机器学习的, 包括神经网络等等.
自己的 research 是在神经网络和强化学习方面, 所以以后也会补上强化学习的教程, 敬请期待. 欢迎大家分享传播, 让我们都能轻松的学习~

[<img src="https://github.com/MorvanZhou/tutorials/blob/master/%E7%89%87%E5%A4%B4.png?raw=true" height="200">](https://morvanzhou.github.io/tutorials/)


## 大陆没办法翻墙, 我们还有优酷, 网易云
[优酷频道主页](http://i.youku.com/pythontutorial)

[网易云课堂](http://study.163.com/u/2635988091)


## 有梯子的同学, Youtube 等着你呢
[Youtube 频道主页](https://www.youtube.com/channel/UCdyjiB5H8Pu7aDTNVXTTpcg)


## 莫烦Python 网页全部教学内容:

* [Python 基础](https://morvanzhou.github.io/tutorials/python-basic/)
* [基础](https://morvanzhou.github.io/tutorials/python-basic/basic/)
* [多线程 threading](https://morvanzhou.github.io/tutorials/python-basic/threading/)
* [多进程 multiprocessing](https://morvanzhou.github.io/tutorials/python-basic/multiprocessing/)
* [简单窗口 tkinter](https://morvanzhou.github.io/tutorials/python-basic/tkinter/)
* [机器学习](https://morvanzhou.github.io/tutorials/machine-learning/)
* [有趣的机器学习](https://morvanzhou.github.io/tutorials/machine-learning/ML-intro/)
* [强化学习 (Reinforcement Learning)](https://morvanzhou.github.io/tutorials/machine-learning/reinforcement-learning/)
* [Tensorflow (神经网络)](https://morvanzhou.github.io/tutorials/machine-learning/tensorflow/)
* [Theano (神经网络)](https://morvanzhou.github.io/tutorials/machine-learning/theano/)
* [Keras (快速神经网络)](https://morvanzhou.github.io/tutorials/machine-learning/keras/)
* [Scikit-Learn (机器学习)](https://morvanzhou.github.io/tutorials/machine-learning/sklearn/)
* [数据处理](https://morvanzhou.github.io/tutorials/data-manipulation/)
* [Numpy & Pandas (处理数据)](https://morvanzhou.github.io/tutorials/data-manipulation/np-pd/)
* [Matplotlib (绘图)](https://morvanzhou.github.io/tutorials/data-manipulation/plt/)
* [其他](https://morvanzhou.github.io/tutorials/others/)
* [Git (版本管理)](https://morvanzhou.github.io/tutorials/others/git/)

<p align="center">
<a href="https://mofanpy.com/tutorials/" target="_blank">
<img width="60%" src="%E7%89%87%E5%A4%B4.png" style="max-width:100%;">
</a>
</p>


<br>

我是 周沫凡, [莫烦Python](https://mofanpy.com/) 只是谐音, 我喜欢制作,
分享所学的东西, 所以你能在这里找到很多有用的东西, 少走弯路. 你能在[这里](https://mofanpy.com/about/)找到关于我的所有东西.

## 这个 Python tutorial 的一些内容:

* [Python 基础](https://mofanpy.com/tutorials/python-basic/)
* [基础](https://mofanpy.com/tutorials/python-basic/basic/)
* [多线程 threading](https://mofanpy.com/tutorials/python-basic/threading/)
* [多进程 multiprocessing](https://mofanpy.com/tutorials/python-basic/multiprocessing/)
* [简单窗口 tkinter](https://mofanpy.com/tutorials/python-basic/tkinter/)
* [机器学习](https://mofanpy.com/tutorials/machine-learning/)
* [有趣的机器学习](https://mofanpy.com/tutorials/machine-learning/ML-intro/)
* [强化学习 (Reinforcement Learning)](https://mofanpy.com/tutorials/machine-learning/reinforcement-learning/)
* [进化算法 (Evolutionary Algorithm) 如遗传算法等](https://mofanpy.com/tutorials/machine-learning/evolutionary-algorithm/)
* [Tensorflow (神经网络)](https://mofanpy.com/tutorials/machine-learning/tensorflow/)
* [PyTorch (神经网络)](https://mofanpy.com/tutorials/machine-learning/torch/)
* [Theano (神经网络)](https://mofanpy.com/tutorials/machine-learning/theano/)
* [Keras (快速神经网络)](https://mofanpy.com/tutorials/machine-learning/keras/)
* [Scikit-Learn (机器学习)](https://mofanpy.com/tutorials/machine-learning/sklearn/)
* [机器学习实战](https://mofanpy.com/tutorials/machine-learning/ML-practice/)
* [数据处理](https://mofanpy.com/tutorials/data-manipulation/)
* [Numpy & Pandas (处理数据)](https://mofanpy.com/tutorials/data-manipulation/np-pd/)
* [Matplotlib (绘图)](https://mofanpy.com/tutorials/data-manipulation/plt/)
* [爬虫](https://mofanpy.com/tutorials/data-manipulation/scraping/)
* [其他](https://mofanpy.com/tutorials/others/)
* [Git (版本管理)](https://mofanpy.com/tutorials/others/git/)
* [Linux 简易教学](https://mofanpy.com/tutorials/others/linux-basic/)

## 赞助和支持

这些 tutorial 都是我用业余时间写出来, 录成视频, 如果你觉得它对你很有帮助, 请你也分享给需要学习的朋友们.
如果你看好我的经验分享, 也请考虑适当的 [赞助打赏](https://mofanpy.com/support/), 让我能继续分享更好的内容给大家.

This file was deleted.

51 changes: 0 additions & 51 deletions Reinforcement_learning_TUT/2_Q_Learning_maze/RL_brain.py

This file was deleted.

129 changes: 0 additions & 129 deletions Reinforcement_learning_TUT/2_Q_Learning_maze/maze_env.py

This file was deleted.

Loading