Browse Source

Add some cheat sheets

fetches/feikei/master
Shuhui Bu 6 years ago
parent
commit
a912dfcf42
24 changed files with 333 additions and 3 deletions
  1. +14
    -0
      0_numpy_matplotlib_scipy_sympy/README.md
  2. +0
    -0
      0_numpy_matplotlib_scipy_sympy/scipy_tutorial.ipynb
  3. +0
    -0
      0_numpy_matplotlib_scipy_sympy/sympy_tutorial.ipynb
  4. +3
    -2
      README.md
  5. +2
    -1
      References.md
  6. +10
    -0
      pytorch/README.md
  7. BIN
      tips/cheatsheet/All Cheat Sheets.pdf
  8. BIN
      tips/cheatsheet/Deep Learning Cheat Sheet-Hacker Noon.pdf
  9. BIN
      tips/cheatsheet/Keras.jpg
  10. BIN
      tips/cheatsheet/Matplotlib.png
  11. BIN
      tips/cheatsheet/Neural Network Cells.png
  12. BIN
      tips/cheatsheet/Neural Network Graphs.png
  13. BIN
      tips/cheatsheet/Neural Networks Zoo.png
  14. BIN
      tips/cheatsheet/Numpy.png
  15. BIN
      tips/cheatsheet/Pandas-1.jpg
  16. BIN
      tips/cheatsheet/Pandas-2.jpg
  17. BIN
      tips/cheatsheet/Pandas-3.png
  18. +4
    -0
      tips/cheatsheet/README.md
  19. BIN
      tips/cheatsheet/Scikit Learn.png
  20. BIN
      tips/cheatsheet/Scipy.png
  21. BIN
      tips/cheatsheet/Seaborn.pdf
  22. BIN
      tips/cheatsheet/python3.pdf
  23. +232
    -0
      tips/notebook_tips.ipynb
  24. +68
    -0
      tips/notebook_tips.py

+ 14
- 0
0_numpy_matplotlib_scipy_sympy/README.md View File

@@ -0,0 +1,14 @@
# numpy, matplotlib, scipy等常用库

## 内容
* [numpy教程](numpy_tutorial.ipynb)
* matplotlib
* [matplotlib系统学习](matplotlib_full.ipynb)
* [matplotlib简易教程](matplotlib_simple_tutorial.ipynb)
* [scipy](scipy_tutorial.ipynb)
* [sympy](sympy_tutorial.ipynb)


## References
* [手把手教你用Python做数据可视化](https://mp.weixin.qq.com/s/3Gwdjw8trwTR5uyr4G7EOg)
* [Essential Cheat Sheets for deep learning and machine learning researchers](https://github.com/kailashahirwar/cheatsheets-ai)

0_numpy_matplotlib_scipy_sympy/scipy.ipynb → 0_numpy_matplotlib_scipy_sympy/scipy_tutorial.ipynb View File


0_numpy_matplotlib_scipy_sympy/sympy.ipynb → 0_numpy_matplotlib_scipy_sympy/sympy_tutorial.ipynb View File


+ 3
- 2
README.md View File

@@ -16,6 +16,7 @@
8. PyTorch 8. PyTorch


## 其他参考 ## 其他参考
* [学习参考资料等](References.md)
* [安装Python环境](tips/InstallPython.md) * [安装Python环境](tips/InstallPython.md)
* [参考资料等](References.md)
* [confusion matrix](tips/confusion_matrix.ipynb)
* [confusion matrix](tips/confusion_matrix.ipynb)
* [一些速查手册](tips/cheatsheet)

+ 2
- 1
References.md View File

@@ -9,7 +9,8 @@
* [IPython tutorials](https://nbviewer.jupyter.org/github/ipython/ipython/blob/master/examples/IPython%20Kernel/Index.ipynb) * [IPython tutorials](https://nbviewer.jupyter.org/github/ipython/ipython/blob/master/examples/IPython%20Kernel/Index.ipynb)
* [Examples from the IPython mini-book](https://github.com/rossant/ipython-minibook) * [Examples from the IPython mini-book](https://github.com/rossant/ipython-minibook)
* [Code of the IPython Cookbook, Second Edition (2018)](https://github.com/ipython-books/cookbook-2nd-code) * [Code of the IPython Cookbook, Second Edition (2018)](https://github.com/ipython-books/cookbook-2nd-code)

* [Essential Cheat Sheets for deep learning and machine learning researchers](https://github.com/kailashahirwar/cheatsheets-ai)
* [手把手教你用Python做数据可视化](https://mp.weixin.qq.com/s/3Gwdjw8trwTR5uyr4G7EOg)


## Libs ## Libs
* [numpy](http://www.numpy.org/) * [numpy](http://www.numpy.org/)


+ 10
- 0
pytorch/README.md View File

@@ -0,0 +1,10 @@



## References
* [Awesome-Pytorch-list](https://github.com/bharathgs/Awesome-pytorch-list)
* [PyTorch Tutorial for Deep Learning Researchers](https://github.com/yunjey/pytorch-tutorial)
* [The Incredible PyTorch: a curated list of tutorials, papers, projects, communities and more relating to PyTorch.](https://github.com/ritchieng/the-incredible-pytorch)
* [Simple examples to introduce PyTorch](https://github.com/jcjohnson/pytorch-examples)
* [Simple PyTorch Tutorials Zero to ALL!](https://github.com/hunkim/PyTorchZeroToAll)
* [从基础概念到实现,小白如何快速入门PyTorch](https://mp.weixin.qq.com/s/zhkaenFdnB5KgaEYb-XDEQ)

BIN
tips/cheatsheet/All Cheat Sheets.pdf View File


BIN
tips/cheatsheet/Deep Learning Cheat Sheet-Hacker Noon.pdf View File


BIN
tips/cheatsheet/Keras.jpg View File

Before After
Width: 2339  |  Height: 1654  |  Size: 675 kB

BIN
tips/cheatsheet/Matplotlib.png View File

Before After
Width: 1753  |  Height: 1240  |  Size: 401 kB

BIN
tips/cheatsheet/Neural Network Cells.png View File

Before After
Width: 2000  |  Height: 3000  |  Size: 285 kB

BIN
tips/cheatsheet/Neural Network Graphs.png View File

Before After
Width: 2000  |  Height: 3000  |  Size: 575 kB

BIN
tips/cheatsheet/Neural Networks Zoo.png View File

Before After
Width: 2000  |  Height: 3000  |  Size: 720 kB

BIN
tips/cheatsheet/Numpy.png View File

Before After
Width: 1753  |  Height: 1240  |  Size: 425 kB

BIN
tips/cheatsheet/Pandas-1.jpg View File

Before After
Width: 3056  |  Height: 2362  |  Size: 757 kB

BIN
tips/cheatsheet/Pandas-2.jpg View File

Before After
Width: 3056  |  Height: 2362  |  Size: 769 kB

BIN
tips/cheatsheet/Pandas-3.png View File

Before After
Width: 1753  |  Height: 1240  |  Size: 368 kB

+ 4
- 0
tips/cheatsheet/README.md View File

@@ -0,0 +1,4 @@
# 常用库的速查手册

## References
* [Essential Cheat Sheets for deep learning and machine learning researchers](https://github.com/kailashahirwar/cheatsheets-ai)

BIN
tips/cheatsheet/Scikit Learn.png View File

Before After
Width: 1753  |  Height: 1240  |  Size: 409 kB

BIN
tips/cheatsheet/Scipy.png View File

Before After
Width: 1753  |  Height: 1240  |  Size: 438 kB

BIN
tips/cheatsheet/Seaborn.pdf View File


BIN
tips/cheatsheet/python3.pdf View File


+ 232
- 0
tips/notebook_tips.ipynb
File diff suppressed because it is too large
View File


+ 68
- 0
tips/notebook_tips.py View File

@@ -0,0 +1,68 @@
# ---
# jupyter:
# jupytext_format_version: '1.2'
# kernelspec:
# display_name: Python 3
# language: python
# name: python3
# language_info:
# codemirror_mode:
# name: ipython
# version: 3
# file_extension: .py
# mimetype: text/x-python
# name: python
# nbconvert_exporter: python
# pygments_lexer: ipython3
# version: 3.5.2
# ---

# ## Show LaTeX equation
#
#

from IPython.display import Latex
Latex(r"""\begin{eqnarray}
\nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\
\nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\
\nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\
\nabla \cdot \vec{\mathbf{B}} & = 0
\end{eqnarray}""")

# %%latex
\begin{align}
\nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\
\nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\
\nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\
\nabla \cdot \vec{\mathbf{B}} & = 0
\end{align}

# ## Audio
#

from IPython.display import Audio
Audio(url="http://www.nch.com.au/acm/8k16bitpcm.wav")

# +
import numpy as np
max_time = 3
f1 = 220.0
f2 = 224.0
rate = 8000.0
L = 3
times = np.linspace(0,L,rate*L)
signal = np.sin(2*np.pi*f1*times) + np.sin(2*np.pi*f2*times)

Audio(data=signal, rate=rate)
# -

# ## External sites

# + {"scrolled": true}
from IPython.display import IFrame
IFrame('https://jupyter.org', width='100%', height=350)
# -

# ## References
#
# * https://nbviewer.jupyter.org/github/ipython/ipython/blob/master/examples/IPython%20Kernel/Index.ipynb

Loading…
Cancel
Save