自定义博客皮肤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)
  • 问答 (1)
  • 收藏
  • 关注

原创 如何确定隐藏层数和隐藏层单元数

hidden layers在实践中,通常情况下,3层神经网络的表现会优于2层网络,但更深层的(4、5、6层)很少有帮助。这与卷积网络形成了鲜明的对比,在卷积网络中,深层被认为是一个好的识别系统的极其重要的组成部分(例如,10个可学习层(learnable layers)左右)。hidden units越多的hidden units可以带来越复杂的计算能力。但是过多hidden units会带来overfitting。过多hidden units带来的overfitting的解决办法:..

2021-06-20 20:49:33 5873 1

原创 如何选择minibatch size

首先,当minibatch偏小时,产生的noise能够部分避免local minima,所以相比于large minibatch, 我们偏向于使用small minibatch。我们通常的选择是32~256之间,large minibatch(512+)计算成本高,而small minibatch(16-)训练速度太慢。...

2021-06-20 20:25:43 4540

原创 Learning Rate

Learning Rate graphfluctuationLearning Rate DecayLearning Rate Decay(Exponential)

2021-06-20 20:10:38 157

原创 np.reshape() VS np.resize()

np.reshape()np.reshape()创建一个副本更改array的shape,但是不会更改原来的array。# importing the moduleimport numpy as np # creating an arraygfg = np.array([1, 2, 3, 4, 5, 6])print("Original array:")display(gfg)# using reshape()print("Changed array")display(gfg.re.

2021-06-20 17:19:07 247

原创 python面向对象编程——Property Decorators - Getters, Setters, and Deleters

首先写上代码,我们代码,我们对里面的 Property Decorators 进行讲解。class Person: def __init__(self, first, last): self.first = first self.last = last @property def email(self): return '{}.{}@email.com'.format(self.first, self.last) @pr

2021-06-20 16:28:07 150

转载 python面向对象编程

Object-Oriented Programming (OOP) in Python 3前几天在realpython上看到一篇解释python面向对象的一篇文章,文章讲的很清楚,也很基础,所以就全篇搬运过来啦,以后有时间再翻译。Table of ContentsWhat Is Object-Oriented Programming in Python?Define a Class in PythonClasses vs InstancesHow to Define a ClassIn

2021-06-13 15:46:50 864

原创 VSCode默认调试终端和默认新终端的更改

由于git bash不能使用conda命令,而cmd虽然可以使用conda,却不能使用Linux指令。所以在Windows使用python中经常会出现想要使用两个终端的情况。默认调试终端点击运行 > 调试默认出现一个终端默认新终端点击终端 > 新终端默认出现一个终端更改打开设置,输入shellTerminal > Integrated > Automation Shell: Windows在setting.json中编辑"terminal.inte

2021-06-10 02:02:28 5343 4

空空如也

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

TA关注的人

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