GMDN:XKCD的Geothmetic Meandian(https

时间:2024-04-10 05:12:51
【文件属性】:

文件名称:GMDN:XKCD的Geothmetic Meandian(https

文件大小:6KB

文件格式:ZIP

更新时间:2024-04-10 05:12:51

Python

通用数字网 XKCD的Geothmetic Meandian( )的python实现 怎么获得 该软件包可以在PyPi上找到: pip install GMDN 如何使用 要获取数字可迭代的Geothmetic Meandian,只需在该可迭代上运行GMDN.GMDN即可。 >> > from GMDN import GMDN >> > GMDN ([ 1 , 1 , 2 , 3 , 5 ]) 2.0890566336242085 可以选择包含一个限制,以表示最高和最低均值/中位数应接近接受答案的程度。限制默认为0.00001。请注意,该函数返回结果的中位数。 >> > from GMDN import GMDN >> > GMDN ([ 1 , 1 , 2 , 3 , 5 ], 1 ) 2 GMDN也可以使用GMDN中的geothmetic_mean来获取(算术平均值,几何平均


【文件预览】:
GMDN-master
----GMDN()
--------helpers.py(2KB)
--------__init__.py(569B)
----pyproject.toml(103B)
----pytest.ini(36B)
----test_GMDN.py(573B)
----LICENSE(1KB)
----setup.cfg(771B)
----requirements.txt(41B)
----.gitignore(2KB)
----README.md(900B)

网友评论