自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 SVG,plot_model 绘图

%matplotlib inlineimport osos.environ['PATH'] = os.environ['PATH'] + (';c:\\Program Files (x86)\\Graphviz2.38\\bin\\')plot_model(FRmodel, to_file = 'FRmodel.png')SVG(model_to_dot(FRmodel).create(p...

2020-04-14 23:40:00 569

原创 关于安装python opencv

pip install --user -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-python使用此链接下载

2020-04-14 15:03:03 118

原创 python clock 更新

time.clock has been deprecated in Python 3.3 and will be removed from Python 3.8: use time.time.clock has been deprecated in Python 3.3 and will be removed from Python 3.8: use time.perf_counter or ti...

2020-03-26 10:00:54 163

原创 np.eye()应用实例

1.a = np.eye(4)print(a)[[1. 0. 0. 0.][0. 1. 0. 0.][0. 0. 1. 0.][0. 0. 0. 1.]]2.a0 = np.eye(4,0)a1 = np.eye(4,1)a2 = np.eye(4,2)a3 = np.eye(4,3)print("a0 = " + str(a0))print("a1 = " + str(...

2020-03-25 21:39:50 666

原创 python 切片

1,当Y 的最外维 只有一个元素时Y = np.array([[0,1,2,3,4,5,6]])print(Y[0])print("Y[0,1]=" + str(Y[0,1]))print("Y[:,1]=" + str(Y[:,1]))print("type(Y[0,1])=" + str(type(Y[0,1])))print("type(Y[:,1])=" + str(type(...

2020-03-25 20:03:41 72

原创 python array list

a =np.array([[1,2,3,4,5,6,7,8]])b = ([[1,2,3,4,5,6,7,8]])c = np.multiply(a , b)print(type(a))print(type(b))print(type(c))<class ‘numpy.ndarray’><class ‘list’><class ‘numpy.ndarr...

2020-03-16 22:30:49 73

原创 Python np.random.seed 理解

Python np.random.seed 理解jupyter notebook 中测试N = 5t = np.random.randn(N)*0.2r = np.random.randn(N)*0.2print(t)print®```python

2020-02-29 14:20:30 394 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除