Description:Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtim...
分类:
其他好文 时间:
2015-06-21 18:18:02
阅读次数:
110
Given an unsorted array, find the maximum difference between the successive elements in its sorted form.
Try to solve it in linear time/space.
Return 0 if the array contains less than 2 elements...
分类:
其他好文 时间:
2015-06-21 14:33:28
阅读次数:
214
CSS 实现元素背景渐变
.demo {
width:100%;
height:200px;
border:solid 1px #213c7c;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#80c1e7), to(#213c7c));
background: -...
分类:
其他好文 时间:
2015-06-20 18:28:05
阅读次数:
128
分类模型如下: 回归问题:学习的结果是连续的,比如房价等等
分类问题:学习的结果是非连续的,分成某几个类
梯度下降例子:
:条件:
对于输入X有n个特征值。X = {x1,x2,x3,x4,.......,xnx_1, x_2, x_3, x_4, ....... ,x_n}
一共有m组输入。X1,X2,......,XmX_1, X_2, ...... , X_m
结果:
根据给出的数据得到函数...
分类:
其他好文 时间:
2015-06-20 17:06:49
阅读次数:
207
http://blog.csdn.net/abcjennifer/article/details/8164315本文从统计学角度讲解了CART(Classification And Regression Tree), Bagging(bootstrap aggregation), Random Fo...
分类:
其他好文 时间:
2015-06-20 17:04:28
阅读次数:
150
题目链接 题目要求: Given an array of integers, every element appearstwiceexcept for one. Find that single one. Note: Your algorithm should have a linear...
分类:
其他好文 时间:
2015-06-20 17:02:27
阅读次数:
102
这里,我介绍一下O(n)回文串处理的一种方法。Manacher算法.原文地址:http://zhuhongcheng.wordpress.com/2009/08/02/a-simple-linear-time-algorithm-for-finding-longest-palindrome-sub....
分类:
编程语言 时间:
2015-06-20 13:08:23
阅读次数:
192
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:
其他好文 时间:
2015-06-20 01:27:44
阅读次数:
163
ReLu(Rectified Linear Units)激活函数论文参考:Deep Sparse Rectifier Neural Networks(很有趣的一篇paper)起源:传统激活函数、脑神经元激活频率研究、稀疏激活性传统Sigmoid系激活函数传统神经网络中最常用的两个激活函数,Sigmo...
分类:
其他好文 时间:
2015-06-19 20:13:16
阅读次数:
81936
林达华推荐的几本数学书转自:http://dahua.spaces.live.com/default.aspx1.线性代数(Linear Algebra):我想国内的大学生都会学过这门课程,但是,未必每一位老师都能贯彻它的精要。这门学科对于Learning是必备的基础,对它的透彻掌握是必不可少的。我...
分类:
其他好文 时间:
2015-06-19 20:02:56
阅读次数:
186