第一种形式:y=0/1 第二种形式:y=+1/-1 第一种形式的损失函数可由极大似然估计推出: 第二种形式的损失函数: , 参考:https://en.wikipedia.org/wiki/Loss_functions_for_classification ...
分类:
其他好文 时间:
2018-10-08 00:50:01
阅读次数:
893
数据集 Mnist数据集:http://yann.lecun.com/exdb/mnist/ 训练 测试 ...
分类:
其他好文 时间:
2018-10-06 23:09:39
阅读次数:
503
```
import tensorflow as tf # e,即event,代表某一个batch的日志记录
for e in tf.train.summary_iterator('./log/events.out.tfevents.1538814721.7226610225d8'): # v,即v... ...
分类:
其他好文 时间:
2018-10-06 17:49:20
阅读次数:
840
照搬pytorch官方代码,只是将数据集换成了INRIAPerson数据集中的train和test文件夹。 贴下代码和效果,代码是官方的,就不详细解释了。 微调和特征提取两种方法的效果都很棒 ...
分类:
其他好文 时间:
2018-10-06 15:33:35
阅读次数:
162
Example The first line of Figure 14-7 (number 40) indicates the first time ACK 23801 is received The window update at time 0.853 is an ACK with a dupl ...
分类:
其他好文 时间:
2018-10-05 20:24:49
阅读次数:
414
Keras 2.2.4 Keras-Applications 1.0.6 Keras-Preprocessing 1.0.5 tensorflow 1.11.0 numpy 1.15.2 pandas 0.23.4 scikit-learn 0.20.0 测试成功 ...
分类:
其他好文 时间:
2018-10-04 18:58:34
阅读次数:
152
前言 zkClient主要做了两件事情: 一件是在session loss和session expire时自动创建新的ZooKeeper实例进行重连。 另一件是将一次性watcher包装为持久watcher。后者的具体做法是简单的在watcher回调中,重新读取数据的同时再注册相同的watcher实 ...
分类:
其他好文 时间:
2018-10-04 14:07:30
阅读次数:
273
加强运动也许并不能减肥Why ExerciseAlone May Not Be the Key to Weight LossIf you give a mouse a running wheel, it will run.如果给小鼠一个转轮,它就会跑起来。But it may not burn ma ...
分类:
其他好文 时间:
2018-09-28 00:03:42
阅读次数:
165
position是 CSS属性指定的元素如何定位一个文件内top,right,bottom,和left属性确定定位元素的最终位置。 形式语法:静态的| 亲戚| 绝对的 |粘性| 固定 静态:元素根据文档的正常流程定位。的top,right,bottom,left,和z-index性能有任何影响。这是 ...
分类:
Web程序 时间:
2018-09-27 18:44:56
阅读次数:
211
降低损失 (Reducing Loss) 为了训练模型,我们需要一种可降低模型损失的好方法。迭代方法是一种广泛用于降低损失的方法,而且使用起来简单有效 了解如何使用迭代方法来训练模型。 全面了解梯度下降法和一些变体,包括: 小批量梯度下降法 随机梯度下降法 尝试不同的学习速率。 降低损失:迭代方法 ...
分类:
其他好文 时间:
2018-09-25 22:51:28
阅读次数:
243