Skip to Content
面向数据科学家的实用统计学
book

面向数据科学家的实用统计学

by Peter Bruce, Andrew Bruce
October 2018
Beginner to intermediate
238 pages
6h 32m
Chinese
Posts & Telecom Press
Content preview from 面向数据科学家的实用统计学
统计实验与显著性检验
|
93
(2)
如果随机数落在
0
和
ε
之间(其中,
ε
是一个介于
0
和
1
之间的数字,通常非常小),则
抛一次硬币(硬币是均匀的,即得到正反面的概率均为
50%
)。
a.
如果硬币正面向上,显示报价
A
。
b.
如果硬币反面向上,显示报价
B
。
(3)
如果随机数大于或等于
ε
,显示迄今为止具有最高响应率的报价。
ε
是控制该算法的唯一参数。如果
ε
= 1
,最终得到的是一个标准的简单
A/B
测试,每个实
验对象在处理
A
和处理
B
之间随机分配。如果
ε
= 0
,最终得到一个纯粹的
贪心
算法。贪
心算法无须做进一步的实验,将实验对象(
Web
访问者)分配给表现最好的处理即可。
一个更复杂的算法使用了
汤普森抽样
(
Thompson
’
s sampling
)方法。我们可以在每个阶段
中做一次“抽样”(拉动拉杆),以最大化选择最佳拉杆的可能性。当然,我们并不知道哪
个拉杆是最佳的,而问题完全在于此!但是随着每一次连续的抽取,我们都能获得收益,
进而获得更多的信息。汤普森抽样采用了贝叶斯方法。它首先使用
Beta
分布
假设回报的
先验分布。
Beta
分布常用于指定贝叶斯问题中的先验情况。随着每次抽取信息的累积,通
过更新累积信息,我们就可以更好地优化下一次抽取,直至选取最优的拉杆。
老虎机算法可以有效地应对三种以上的处理,并趋向于最佳选择的方向。对于传统的统计
检验过程而言,三种以上处理决策的复杂性,远远超出了传统的
A/B
测试,因此老虎机算
法颇具优势。
本节要点
•
传统的
A/B
测试基于随机抽样过程,会导致过度地使用非最优处理。
•
相比而言,多臂老虎机算法改进了抽样过程,加入了在实验过程中学到的信息,减 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

基于Python的智能文本分析

基于Python的智能文本分析

Benjamin Bengfort, Rebecca Bilbro, Tony Ojeda
Python数据处理

Python数据处理

Jacqueline Kazil, Katharine Jarmul
精通機器學習

精通機器學習

Aurélien Géron
C++语言导学(原书第2版)

C++语言导学(原书第2版)

本贾尼 斯特劳斯特鲁普

Publisher Resources

ISBN: 9787115493668