本文是《Neural networks and deep learning》概览 中第三章的一部分,讲机器学习/深度学习算法中常用的正则化方法。(本文会不断补充)正则化方法:防止过拟合,提高泛化能力在训练数据不够多时,或者overtraining时,常常会导致overfitting(过拟合)。其直观的表现如下图所示,随着训练过程,网络在training data上的error渐渐减小,但是在验证集上...
分类:
其他好文 时间:
2015-03-14 18:32:59
阅读次数:
63684
Given a singly linked listL:L0→L1→…→Ln-1→Ln,reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.For exam...
分类:
其他好文 时间:
2015-03-13 23:31:34
阅读次数:
164
Reorder List问题:Given a singly linked listL:L0→L1→…→Ln-1→Ln,reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' ...
分类:
其他好文 时间:
2015-03-11 16:58:37
阅读次数:
197
【练习3.4】给定两个已排序的表L1和L2,只使用基本的表操作编写计算L1∩L2的过程。【练习3.5】给定两个已排序的表L1和L2,只使用基本的表操作编写计算L1∪L2的过程。
分类:
其他好文 时间:
2015-03-11 12:08:56
阅读次数:
115
.box{border:1px solid red;width:600px;height: 300px;margin:30px auto;position: relative;}
.box div{position: absolute;top:0;width:10px;height:10px;background:blueviolet;}
.l1{left:20...
分类:
其他好文 时间:
2015-03-10 10:33:23
阅读次数:
114
用两个关键字记录,分别为屌丝时间和女神时间
若屌丝约,更新屌丝时间
若女神约,更新屌丝和女神时间
学习,则两个全部清空
#include "stdio.h"
#include "string.h"
struct Data
{
int l,r,x1,x2,l1,l2,r1,r2;
}data[400010];
int Max(int a,int b)
{
if...
分类:
其他好文 时间:
2015-03-08 17:14:18
阅读次数:
147
介绍 如何把现实中大量而复杂的问题以特定的数据类型和特定的存储结构保存到主存储器(内存)中,以及在此基础上为实现某个功能(比如查找某个元素,删除某个元素,对所有元素进行排序)而执行的相应的操作,这个相应的操作叫做算法。 数据结构 =个体 +个体的关系 算法 =对存储数据的操作(解题的方法和步骤...
分类:
其他好文 时间:
2015-03-08 16:57:18
阅读次数:
136
接上篇http://blog.csdn.net/ashic/article/details/44117867
上篇中我们dump出了L1 L2 L3块,现在来了解一下它们中包含的信息
内容
注释 L1
FIRST LEVEL BITMAP BLOCK
L2
SECOND LEVEL BITMAP BLOCK
L3(段头)
PAGETABLE SEGMENT HEADE...
分类:
其他好文 时间:
2015-03-08 00:07:41
阅读次数:
271
已知一堆苹果的数量和一个人与另一个人苹果数量的差,求每个人有几个苹果。需要用到高精度。#include#includechar x[105],y[105];int a[105],b[105],c[105];int l1,l2,i,j,s;int main(){ while(scanf("%s%...
分类:
其他好文 时间:
2015-03-04 20:56:49
阅读次数:
137
https://oj.leetcode.com/problems/reorder-list/Given a singly linked listL:L0→L1→…→Ln-1→Ln,reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-pla...
分类:
其他好文 时间:
2015-03-04 16:22:21
阅读次数:
153