码迷,mamicode.com
首页 >  
搜索关键字:pyplot    ( 992个结果
NumPy基础:范例-随机漫步
import random import numpy as np import matplotlib.pyplot as plt position = 0 walk = [position] steps = 100 x = [] y = [] for i in range(steps): step ...
分类:其他好文   时间:2020-05-22 19:02:54    阅读次数:80
Python数据可视化之matplotlib实践 源码 第二篇 精进 第五章
图 5.1 import matplotlib.pyplot as plt import numpy as np from matplotlib.ticker import AutoMinorLocator, MultipleLocator, FuncFormatter x=np.linspace( ...
分类:编程语言   时间:2020-05-22 16:47:51    阅读次数:96
tanh函数
1 import matplotlib.pyplot as plt 2 import numpy as np 3 # 生成x数据 4 x = np.linspace(-10,10,100) 5 y = np.tanh(x) 6 plt.plot(x,y) 7 plt.show() ...
分类:其他好文   时间:2020-05-22 12:54:54    阅读次数:52
Warm-up和Cos设置LR
``` import bisect from bisect import bisect_right import matplotlib.pyplot as plt import numpy as np import math lr = [] iters=[] def _get_warmup_fact ...
分类:其他好文   时间:2020-05-22 00:14:17    阅读次数:273
kaggle_choose plot type and customer styles
0 setup 配置文件 import pandas as pd pd.plotting.register_matplotlib_converters() import matplotlib.pyplot as plt %matplotlib inline import seaborn as sns ...
分类:其他好文   时间:2020-05-16 18:25:50    阅读次数:51
python 判断灰度图像
from PIL import Image import matplotlib.pyplot as plt # 黑白照片(灰度图)识别 def isGrayMap(img, threshold = 15): """ 入参: img:PIL读入的图像 threshold:判断阈值,图片3个通道间差的方 ...
分类:编程语言   时间:2020-05-16 15:13:25    阅读次数:135
Kaggle_distribution
0 setup 配置文件 import pandas as pd pd.plotting.register_matplotlib_converters() import matplotlib.pyplot as plt %matplotlib inline import seaborn as sns ...
分类:其他好文   时间:2020-05-16 12:12:08    阅读次数:63
Python数据可视化之matplotlib实践 源码 第一篇 入门 第三章
图3.1 import matplotlib as mpl import matplotlib.pyplot as plt import numpy as np mpl.rcParams['font.sans-serif']=['SimHei'] mpl.rcParams['axes.unicode ...
分类:编程语言   时间:2020-05-14 19:25:53    阅读次数:66
第六讲 循环神经网络--LSTM--stock
1 !pip install tushare 2 import tushare as ts 3 import numpy as np 4 import tensorflow as tf 5 from tensorflow.keras.layers import Dropout, Dense, LST ...
分类:其他好文   时间:2020-05-13 23:15:12    阅读次数:106
第六讲 循环神经网络--Embedding--4pred1
1 import tensorflow as tf 2 import numpy as np 3 from tensorflow.keras.layers import Dense, SimpleRNN, Embedding 4 import matplotlib.pyplot as plt 5 i ...
分类:其他好文   时间:2020-05-13 00:36:35    阅读次数:152
992条   上一页 1 ... 14 15 16 17 18 ... 100 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!