记录学习的一些链接

python3的类(class)的使用:https://www.runoob.com/python3/python3-class.html

Python指定概率获取随机元素:文章中提供了两种方法,目前选用第一种来做https://o0xmuhe.github.io/2017/12/30/Python%E6%8C%87%E5%AE%9A%E6%A6%82%E7%8E%87%E8%8E%B7%E5%8F%96%E9%9A%8F%E6%9C%BA%E5%85%83%E7%B4%A0/

Python plt 画图:https://blog.csdn.net/majinlei121/article/details/83994935

Python range 循环:https://www.runoob.com/python/python-func-range.html

Python Zipf distribution(Zipf分布)生成:https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.random.zipf.html

import numpy as np
a = 2 # parameter
s = np.random.zipf(a,1000)
print (s) # list

特殊方法才能查到的学习资料

Zipf distribution的介绍:https://en.wikipedia.org/wiki/Zipf%27s_law

在这里插入图片描述

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值