题目: Given an array of integers, every element appears twice except for one. Find that single one. Note:Your algorithm should have a linear runtime com ...
分类:
其他好文 时间:
2017-08-26 12:52:53
阅读次数:
126
最近有空,翻页TensorFlow官方文档,错漏难免,欢迎指正。 ...
分类:
其他好文 时间:
2017-08-26 04:55:03
阅读次数:
160
Exercise 1:Linear Regression 实现一个线性回归 重要公式 1.h(θ)函数 2.J(θ)函数 思考一下,在matlab里面怎么表达?如下: 原理如下:(如果你懂了这道作业题,上面的也就懂了) 下面通过图形方式感受一下代价函数 : 3.θ迭代过程(梯度下降) First w ...
分类:
其他好文 时间:
2017-08-25 14:53:26
阅读次数:
178
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6172 题意:给一堆东西,就是求个线性递推式,求第n项%1e9+7 杜教板真牛逼啊,线性递推式用某特征值相关的论文板,打表前几项丢进去就出结果了。 ...
分类:
其他好文 时间:
2017-08-24 21:37:51
阅读次数:
183
习题 从图中可以可以看出,应该是一个圆把蓝色的圈住,所以应该有两个 x2 1. 如何判断是否 convex,gradient 什么情况下(能/否) converge 判断 convex 要由数学证明完成,我们是选择别人证明好的 cost function,这里不做证明。 判断 convex 要由数学 ...
分类:
系统相关 时间:
2017-08-22 13:14:17
阅读次数:
206
Linear Regression、Logistic Regression ...
分类:
编程语言 时间:
2017-08-21 00:25:36
阅读次数:
170
TF.Learn,TensorFlow重要模块,各种类型深度学习及流行机器学习算法。TensorFlow官方Scikit Flow项目迁移,谷歌员工Illia Polosukhin、唐源发起。Scikit-learn代码风格,帮助数据科学从业者更好、更快适应接受TensorFlow代码。囊括许多Te ...
分类:
其他好文 时间:
2017-08-20 12:37:28
阅读次数:
224
library(rhdfs) library(rmr2) hdfs.init() hdfs.delete("/user/output/lm.output") map <- function(k,lines) { lines<-unlist(strsplit(lines,'#')) k<-lines[ ...
分类:
其他好文 时间:
2017-08-19 19:58:53
阅读次数:
157
传送门 Description Given an array of integers, every element appears three times except for one, which appears exactly once. Find that single one. Note:Y ...
分类:
其他好文 时间:
2017-08-19 18:31:28
阅读次数:
167