Gradient Boosting的一般算法流程 1. 初始化: $f_0(x) = \mathop{\arg\min}\limits_\gamma \sum\limits_{i=1}^N L(y_i, \gamma)$ 2. for m=1 to M: (a) 计算负梯度: $\tilde{y}_ ...
分类:
其他好文 时间:
2018-06-11 19:02:49
阅读次数:
217
一开始用c++的运算符重载程序总是莫名其妙的崩掉,然后以为是运算符重载的问题就写了个class对矩阵重新封装,结果还是崩,然后好久才发现是我把空间开的太大导致程序崩掉,无语,这样就浪费了我一个上午。。。。 课本上的例题: $$\begin{equation}{\left[ \begin{array} ...
分类:
其他好文 时间:
2018-06-10 15:13:08
阅读次数:
213
Suppose we are going to optimize a parameterized function $J(\theta)$, where $\theta \in \mathbb{R}^d$, for example, $\theta$ could be a neural net. M ...
分类:
其他好文 时间:
2018-06-08 10:34:15
阅读次数:
147
LSTM vanishing gradient problems ...
分类:
其他好文 时间:
2018-06-05 23:18:04
阅读次数:
258
关于背景 一. 渐变&径向渐变(background-image: -webkit-linear-gradient() && background-image: -webkit-radial-gradient()) 二. 渐变&径向渐变() <!DOCTYPE html> <html lang="e ...
分类:
Web程序 时间:
2018-05-25 00:29:48
阅读次数:
232
There are some problems: mismatch of model and reality; gradient explosion so, the dynamics can be quite messy, and backpropogating can be quite probl ...
分类:
其他好文 时间:
2018-05-23 20:26:52
阅读次数:
163
LightGBM是微软旗下DMTK推出的Gradient Boosting框架,因为其快速高效,以后或许会成为数据挖掘竞赛中的又一个大杀器。地址:https://github.com/Microsoft/LightGBM 。 该项目刚开源就被受到热捧:三天之内GitHub上被star了1000+次, ...
分类:
编程语言 时间:
2018-05-22 12:34:36
阅读次数:
371
类似效果图: ie 滤镜:filter filter 是 ie 的私有属性,linear-gradient 在 ie9 以下是不支持的,所以对于 ie6 - ie8 我们可以使用滤镜来解决 其中各个参数的含义如下: opacity表示透明度,默认的范围是从0 到 100,他们其实是百分比的形式。也就 ...
分类:
Web程序 时间:
2018-05-21 14:48:42
阅读次数:
185
该文章转载自:http://www.zhangxinxu.com/wordpress/?p=818 一、IE浏览器下的渐变背景 IE浏览器下渐变背景的使用需要使用IE的渐变滤镜。如下代码: filter: progid:DXImageTransform.Microsoft.gradient(star ...
分类:
其他好文 时间:
2018-05-21 14:44:54
阅读次数:
157
本实验通过建立一个含有两个隐含层的BP神经网络,拟合具有二次函数非线性关系的方程,并通过可视化展现学习到的拟合曲线,同时随机给定输入值,输出预测值,最后给出一些关键的提示。 源代码如下: 运行结果如下: 结果实在是太棒了,把这个关系拟合的非常好。 ...
分类:
其他好文 时间:
2018-05-20 16:41:38
阅读次数:
314