返回首页
最新
什么:go-stats-calculator[1] - 计算统计数据的命令行工具 <i>(均值、中位数、方差、标准差、偏度等)</i><p>为什么:我需要一种快速查看统计数据的方法,而不必依赖于像 Python 及其统计模块或 Excel 这样繁重的工具。<p>免责声明:由 Gemini 2.5 Pro 和 Opus 4.5 编写,但也通过单元测试和独立验证进行了验证[2]。<p>安装:使用 Homebrew[3] 或 GoReleaser 构建的二进制文件[4]。<p>演示:<p><pre><code> $ seq 99 322 | stats
--- 描述性统计 ---
计数: 224
总和: 47152
最小值: 99
最大值: 322
--- 中心趋势的度量 ---
均值: 210.5
中位数 (p50): 210.5
众数: 无
--- 离散程度与分布的度量 ---
标准差: 64.8074
方差: 4200
第一四分位数 (p25): 154.75
第三四分位数 (p75): 266.25
百分位数 (p95): 310.85
百分位数 (p99): 319.77
四分位距 (IQR): 111.5
偏度: 0 (相当对称)
异常值: 无
</code></pre>
[1] <a href="https://github.com/jftuga/go-stats-calculator" rel="nofollow">https://github.com/jftuga/go-stats-calculator</a><p>[2] <a href="https://github.com/jftuga/go-stats-calculator/tree/main?tab=readme-ov-file#testing-and-correctness" rel="nofollow">https://github.com/jftuga/go-stats-calculator/tree/main?tab=...</a><p>[3] <a href="https://github.com/jftuga/go-stats-calculator?tab=readme-ov-file#installation" rel="nofollow">https://github.com/jftuga/go-stats-calculator?tab=readme-ov-...</a><p>[4] <a href="https://github.com/jftuga/go-stats-calculator/releases" rel="nofollow">https://github.com/jftuga/go-stats-calculator/releases</a>
vLLM用于Blackwell(SM_120)和内核6.14。针对RTX 5090进行了优化。在DeepSeek-R1上通过FlashInfer实现59 t/s。