-
读取文件夹下文件
-
2017-4-4 13:41
-
def file_name(file_dir): for root, dirs, files in os.walk(file_dir): #print(root) #当前目录路径 #print(dirs) #当前路径下所有子目录 print(files) #当 ...
-
个人分类: python|1241 次阅读|没有评论
-
ARIMA-时间序列预测
-
2017-3-5 12:03
-
(1)使用python对时间序列进行预测 http://www.36dsj.com/archives/44065 中间有很多翻译错误的,但还好最后有个英文的原文,可以对照着学习。 (2)附件是《时间序列分析预测与控制》 时间序列分析预测与控制.pdf ,对时间序列进行预测的ARIMA模型一些基本概念可以从中查找。 易于理解。 另外,感 ...
-
个人分类: python|3180 次阅读|没有评论
-
tensorflow学习
-
2017-2-4 22:14
-
视频: https://www.youtube.com/watch?v=FTR36h-LKcYlist=PLXO45tsB95cKI5AIlf5TxxFPzb-0zeVZ8index=12 官方文档中文版 http://wiki.jikexueyuan.com/project/tensorflow-zh/
-
个人分类: python|1787 次阅读|没有评论
-
名字分组,尽量不重
-
2017-1-2 22:39
-
名字分组,尽量不重 names_group_1.py names_group_N.py names.xlsx names_group_1.xls names_group_2.xls names_group_3.xls
-
个人分类: python|1777 次阅读|没有评论
-
python-展开任意深度的list嵌套
-
2016-12-16 14:36
-
展开任意深度的嵌套 from collections import Iterable flat = lambda t : if isinstance ( t , Iterable ) else In : flat ( ], 6 , 7 ]]) Out :
-
个人分类: python|3151 次阅读|没有评论
-
python-拟合(一元线性)
-
2016-12-16 13:53
-
def linear_model_main(xx,yy): regr = linear_model.LinearRegression() regr.fit(xx,yy) predictions = {} predictions = regr.intercept_ #截距 predictions &nbs ...
-
个人分类: python|3390 次阅读|没有评论
-
python-符号运算(求导等)
-
2016-12-15 17:29
-
cmd 命令下 pip install sympy #求导 from sympy import * y = Symbol('x') diff(y**2,y) #2*x diff(f, *symbols, **kwargs) Differentiate f with respect to symbols. This is just a wrapper to unify .diff() and the Derivative class; it ...
-
个人分类: python|10386 次阅读|没有评论
-
python 统计方法-分布检验
-
2016-12-14 22:01
-
import scipy scipy.stats.ttest_rel() Examples for the use are scores of the same set of student in different exams, or repeated sampling from the same units. scipy.stats.kstest() This performs a test of the distribution G(x) of an observed & ...
-
个人分类: python|4584 次阅读|没有评论
本页有 2 篇博文因作者的隐私设置或未通过审核而隐藏