自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 activation function

Fromy =Toy = h(b+w1xw+w2x2)h(x) =this is a huge concept changing:x1, x2 areinput samples;w1,w2 are weight;b is offseth() is function that activation functiony is output

2019-04-23 09:52:51 219

原创 NUMPY COMPRESS

import numpy as npA = np.array([[1,2],[13,4],[5,6]])print(A.shape)b = np.compress([0,1],A,axis=0)#compress is something like'bool' picking, array A has 3 lines, 2 columns, when axis= 0, it go...

2019-04-14 19:38:26 458

原创 np.unravel_index()

import numpy as npnda1 = np.array([[10,13,12],[13,14,15],[19,17,18]])print(np.argmax(nda1))list1 = np.argmax(nda1,axis=1)# list1 is the list of Max position in each dimension(position in its o...

2019-04-13 22:19:42 946

原创 numpy keepdims

import numpy as npx= np.random.randn(3,4,5)print(x)print(x.shape)print(np.sum(x,axis=1))print(np.sum(x,axis=1,keepdims=True))# keepdims = True will keep the orignal ndarray structure#axis = 1...

2019-04-13 19:53:17 118

空空如也

空空如也

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

TA关注的人

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