本文参考资料列表: 【1】Robust Regression Shrinkage and Consistent Variable Selection Through the LAD-Lasso 【2】维基百科 https://en.wikipedia.org/wiki/Least_absolute_ ...
分类:
编程语言 时间:
2018-11-17 22:18:58
阅读次数:
226
参考资料: 1.李航《统计学习方法》; 2.https://blog.csdn.net/laobai1015/article/details/78113214 ...
分类:
其他好文 时间:
2018-11-17 17:56:54
阅读次数:
104
随机梯度下降分类器并不是一个独立的算法,而是一系列利用随机梯度下降求解参数的算法的集合。 from sklearn.linear_model import SGDClassifier clf = SGDClassifier(loss="hinge", penalty="l2") loss funct ...
分类:
其他好文 时间:
2018-11-16 22:35:16
阅读次数:
258
#!/usr/bin/envpython2#-*-coding:utf-8-*-"""CreatedonFriAug1016:13:292018@author:myhaspl"""frommxnetimportndfrommxnet.gluonimportnnclassMixMLP(nn.Block):def__init__(self,**kwargs):#Run`nn.Block`‘sinitm
分类:
Web程序 时间:
2018-11-15 11:05:53
阅读次数:
154
话不多说,直接上代码 其中有两个根据数字和字母生成图片验证码的方法,相信大家能够明白,第一种是常规的WebForm后台调用的方法,可以i直接返回相应的验证码图片,第二种则是专门为ASP.NET准备的方法,其实就是筛检了一点东西,然后传入参数也发生了相应的变化,当然,还有点击“看不清,换一张”的时候, ...
https://leetcode.com/problems/sliding-window-maximum/ Given an array nums, there is a sliding window of size k which is moving from the very left of t ...
[1]Karparthy博客 Breaking Linear Classifiers on ImageNet http://karpathy.github.io/2015/03/30/breaking-convnets/ [2]Christian等人在ICLR2014最先提出adversarial ...
分类:
其他好文 时间:
2018-11-14 14:19:41
阅读次数:
254
[toc] LCG算法 djb2与LCG很类似,故先介绍 LCG。 LCG(linear congruential generator)算法是一个古老的产生随机数的算法。由以下参数产生 参数|m|a|c|X | | | | 性质 |模数|乘数|加数|随机数 作用 |取模|移位|偏移|作为结果 LCG ...
分类:
其他好文 时间:
2018-11-13 14:20:56
阅读次数:
407
在登录界面点击注册跳转到注册页面之后不能正过来 试过在注册页面对应的xml文件的linear layout里写了Android属性screen Orientation为landscape或者portrait,但是没用 而且这个genymotion虚拟机好像没有浏览器 ...
分类:
其他好文 时间:
2018-11-11 18:25:14
阅读次数:
157
[toc] LCG算法 LCG(linear congruential generator)线性同余算法,是一个古老的产生随机数的算法。由以下参数组成: 参数|m|a|c|X | | | | 性质 |模数|乘数|加数|随机数 作用 |取模|移位|偏移|作为结果 LCG算法是如下的一个递推公式,每下一 ...
分类:
编程语言 时间:
2018-11-11 17:18:34
阅读次数:
533