关于「跨舰队推荐的条件互信息路由」,《加购、升单与交叉推荐》给出的定量结论是什么?
结论:第三章在合成的 30 站点模型上用条件互信息求前两条推荐路由,并发现即使有 60,000 名用户也只有 14 到 17 个站点的前两条稳定。
数据口径:书中的估值分布、接受率、退款率与 30 个站点的需求结构均为示意或合成模型;全部数据由书中程序生成;本书不是法律意见。 第一章证明最优加购价格比不是固定区间:示意模型中摩擦为零时最优比为 0.451、对平均客单价贡献 +22.5%,随估值分布变化可从 0.246 到 0.812,贡献 +15.0% 到 +31.0%;两个加购合计 +34.7%。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 14, 17, 30, 60000
| users sites with the true top-two set (of 30) | |
| 2,000 | 10, 14, 10 |
| 10,000 | 14, 12, 10 |
| 60,000 | 16, 17, 14 |
| bias, independent pair, n = | 2,000: 0.000361 bits |
| bias, independent pair, n = 10,000: 0.000072 bits | |
| bias, independent pair, n = 60,000: 0.000012 bits | |
查看完整验算程序
# Chapter 3. p06: How many users before the top-two routes are stable?
# Same synthetic model as p05. "Truth" = routes estimated from 400,000
# simulated users. For smaller samples (independent seeds) we count the
# share of the 30 sites whose estimated top-two set equals the true one,
# and the mean upward bias of the plug-in mutual information of an
# independent pair (the Miller-Madow bias, about 1/(2 n ln 2) bits).
import importlib.util
from math import log
def load(name):
spec = importlib.util.spec_from_file_location(name, name + ".py")
m = importlib.util.module_from_spec(spec)
spec.loader.exec_module(m)
return m
m = load("p05_cross_sell_mi")
if __name__ == "__main__":
cnt, pair = m.estimate(400000, 1)
truth = m.routes(cnt, pair, 400000)
print(" users sites with the true top-two set (of 30)")
for n in (2000, 10000, 60000):
hits = []
for seed in (11, 12, 13):
c, p = m.estimate(n, seed)
r = m.routes(c, p, n)
hits.append(sum(set(r[i]) == set(truth[i]) for i in range(30)))
print(" {:6,} {}".format(n, ", ".join(str(h) for h in hits)))
for n in (2000, 10000, 60000):
print(" bias, independent pair, n = {:6,}: {:.6f} bits".format(
n, 1 / (2 * n * log(2))))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《结账顺手加购弹性、一键升单动力学与跨领域推荐矩阵》第 3 章「跨舰队推荐的条件互信息路由」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090207
DOI: 10.5281/zenodo.24090207 · 阅读本章所在专著 · 5DL-B-078 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026078,
author = {Fan, Yafu},
title = {Order-Bump Friction Elasticity, One-Click Upsell Kinetics and Cross-Domain Recommendation Matrices},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.24090207},
url = {https://doi.org/10.5281/zenodo.24090207}
}