摘要: http://blog.csdn.net/chenjiebin/article/details/8253433http://www.01happy.com/ubuntu-rabbitmq-and-python-practice/__author__ = 'root'# --*-- coding:ut... 阅读全文
posted @ 2014-08-01 11:20 data80386 阅读(85) 评论(0) 推荐(0) 编辑
摘要: http://www.07net01.com/linux/GitHubshiyong_yi____shengchengbendixiangmubingshangchuan_560271_1376359104.html 阅读全文
posted @ 2014-07-29 09:07 data80386 阅读(80) 评论(0) 推荐(0) 编辑
摘要: def Var(t, mu=None): """方差""" if mu is None: mu = Mean(t) # compute the squared deviations and return their mean. dev2 = [(x - mu)*... 阅读全文
posted @ 2014-07-14 11:34 data80386 阅读(353) 评论(0) 推荐(0) 编辑
摘要: 面向小白的统计学:描述性统计(均值,中位数,众数,方差,标准差,与常见的统计图表)集中趋势:均值,中位数,众数离散程度:极差,方差,标准差常见统计图表:直方图,概率质量函数,箱线图,茎叶图赌博设计:概率的基本概念,古典概型 阅读全文
posted @ 2014-07-14 11:23 data80386 阅读(210) 评论(0) 推荐(0) 编辑
摘要: def Mode(t): """众数""" if not t: return None arr = __getfreq(t) if arr[0][0] == 1: return None else: for k, g in it... 阅读全文
posted @ 2014-07-14 10:44 data80386 阅读(756) 评论(0) 推荐(0) 编辑
摘要: def Median(t): """中位数""" arr = sorted(t) idx = (len(arr) - 1) / 2 if type(idx) is int: return arr[idx] if type(idx) is float: ... 阅读全文
posted @ 2014-07-14 10:43 data80386 阅读(616) 评论(0) 推荐(0) 编辑
摘要: def Mean(t): """均值""" return float(sum(t)) / len(t) 阅读全文
posted @ 2014-07-14 10:41 data80386 阅读(202) 评论(0) 推荐(0) 编辑
摘要: # --*-- coding:utf-8 --*--import mathimport itertoolsdef Mean(t): """均值""" return float(sum(t)) / len(t)def E(x, p): """ 离散性随即变量的数学期望(也称为均... 阅读全文
posted @ 2014-07-11 01:48 data80386 阅读(1768) 评论(0) 推荐(0) 编辑