安装python-2.7.13.msi(到C:\Python27),把C:\Python27和C:\Python27\Scripts添加到系统环境变量 安装numpy:下载numpy-1.11.3+mkl-cp27-cp27m-win32.whl mkl即intel的math kernel lib ...
一 引入数据,以CSV为例 import pandas as pd import numpy as np df=pd.read_csv('/Users/cici/Documents/huanji_2017_ori.csv',header=0,sep='\t',names=['uid','month' ...
分类:
其他好文 时间:
2017-03-28 16:21:26
阅读次数:
137
在数学中,双曲函数类似于常见的(也叫圆函数的)三角函数。基本双曲函数是双曲正弦“sinh”,双曲余弦“cosh”,从它们导出双曲正切“tanh”等。也类似于三角函数的推导。反函数是反双曲正弦“arsi...
分类:
其他好文 时间:
2017-03-28 14:19:42
阅读次数:
1326
MCMC(一)蒙特卡罗方法 MCMC(二)马尔科夫链(待填坑) MCMC(三)M-H采样和Gibbs采样(待填坑) 作为一种随机采样方法,马尔科夫链蒙特卡罗(Markov Chain Monte Carlo,以下简称MCMC)在机器学习,深度学习以及自然语言处理等领域都有广泛的应用,是很多复杂算法求 ...
分类:
其他好文 时间:
2017-03-27 15:37:58
阅读次数:
165
numpy 数组对象NumPy中的ndarray是一个多维数组对象,该对象由两部分组成:实际的数据,描述这些数据的元数据# eg_v1 # 确定数组的维度(数组的shape属性返回一个元组(tuple),元组中的元素即为NumPy数组每一个维度上的大小) # shape (查看数组的纬度) # 数组 ...
分类:
编程语言 时间:
2017-03-26 01:19:34
阅读次数:
199
The source code: a) Control flow b) The simple fault that t2(n=5) would be more likely to discover than t1(n=3) would is the index of the array out of ...
分类:
其他好文 时间:
2017-03-14 21:09:55
阅读次数:
278
(a) (b) array out of bounds (c) n = 1 (d) NC: {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15} EC: {(1,2), (2,3), (3,4), (4,5), (5,6), (6,7), (7,5), (6,8), (5,9) ...
分类:
其他好文 时间:
2017-03-10 15:30:33
阅读次数:
203
3014218071 王汉超 [Deadline: 23:59:59, Mar.14, 2017] ...
分类:
其他好文 时间:
2017-03-10 13:15:23
阅读次数:
189
搭建环境参考 http://blog.csdn.net/ubunfans/article/details/47724341 这个教程基本是正确的。 补充一点就是 之后,在build/bin/下面会生成很多*.bin文件,就证明编译成功。 下面是运行mnist,执行到create_mnist.sh这一 ...
分类:
系统相关 时间:
2017-03-09 22:38:19
阅读次数:
4230
1.StackOverflowError 问题:简单代码记录 : for (day <- days){ rdd = rdd.union(sc.textFile(/path/to/day) .... ) } ...
分类:
其他好文 时间:
2017-03-06 13:31:00
阅读次数:
2864