資源簡介
這個一個Python代碼,是臺灣大學李宏毅老師教授機器學習課程上舉例提出的一個寶可夢Pokemon的CP值預測的模型,采用了Regression的方法。
代碼片段和文件信息
#!/usr/bin/env?python
#?coding:?utf-8
#?#?Welcome?to?Jupyter!
#?This?repo?contains?an?introduction?to?[Jupyter](https://jupyter.org)?and?[IPython](https://ipython.org).
#?
#?Outline?of?some?basics:
#?
#?*?[Notebook?Basics](../examples/Notebook/Notebook%20Basics.ipynb)
#?*?[IPython?-?beyond?plain?python](../examples/IPython%20Kernel/Beyond%20Plain%20Python.ipynb)
#?*?[Markdown?Cells](../examples/Notebook/Working%20With%20Markdown%20Cells.ipynb)
#?*?[Rich?Display?System](../examples/IPython%20Kernel/Rich%20Output.ipynb)
#?*?[Custom?Display?logic](../examples/IPython%20Kernel/Custom%20Display%20Logic.ipynb)
#?*?[Running?a?Secure?Public?Notebook?Server](../examples/Notebook/Running%20the%20Notebook%20Server.ipynb#Securing-the-notebook-server)
#?*?[How?Jupyter?works](../examples/Notebook/Multiple%20Languages%2C%20Frontends.ipynb)?to?run?code?in?different?languages.
#?You?can?also?get?this?tutorial?and?run?it?on?your?laptop:
#?
#?????git?clone?https://github.com/ipython/ipython-in-depth
#?
#?Install?IPython?and?Jupyter:
#?
#?with?[conda](https://www.anaconda.com/download):
#?
#?????conda?install?ipython?jupyter
#?
#?with?pip:
#?
#?????#?first?always?upgrade?pip!
#?????pip?install?--upgrade?pip
#?????pip?install?--upgrade?ipython?jupyter
#?
#?Start?the?notebook?in?the?tutorial?directory:
#?
#?????cd?ipython-in-depth
#?????jupyter?notebook
#?In[1]:
import?numpy?as?np
import?matplotlib.pyplot?as?plt
#
- 上一篇:Python安卓QQ5.8協議源碼
- 下一篇:nao機器人抓取程序
評論
共有 條評論