Skip to Content
Python机器学习基础教程
book

Python机器学习基础教程

by Andreas C. Müller, Sarah Guido
January 2018
Intermediate to advanced
301 pages
8h 54m
Chinese
Posts & Telecom Press
Content preview from Python机器学习基础教程
280
8
虽然技术债问题在大规模的长期项目中特别紧迫,但即使是短期和较小的系统,吸取的教
训也有助于我们构建更好的软件。
8.3
 测试生产系统
在这本书中,我们介绍了如何基于事先收集的测试集来评估算法的预测结果。这被称为
线评估
offline evaluation
)。但如果你的机器学习系统是面向用户的,那么这只是评估算
法的第一步。下一步通常是
在线测试
online testing
)或
实时测试
live testing
),对在整个
系统中使用算法的结果进行评估。改变网站向用户呈现的推荐结果或搜索结果,可能会极
大地改变用户行为,并导致意想不到的结果。为了防止出现这种意外,大部分面向用户的
服务都会采用
A/B
测试
A/B testing
),这是一种盲的(
blind
)用户研究形式。在
A/B
试中,在用户不知情的情况下,为选中的一部分用户提供使用算法
A
的网站或服务,而为
其余用户提供算法
B
。对于两组用户,在一段时间内记录相关的成功指标。然后对算法
A
和算法
B
的指标进行对比,并根据这些指标在两种方法中做出选择。使用
A/B
测试让我
们能够在实际情况下评估算法,这可能有助于我们发现用户与模型交互时的意外后果。通
常情况下,
A
是一个新模型,而
B
是已建立的系统。在线测试中还有比
A/B
测试更为复杂
的机制,比如
bandit
算法
John Myles White
Bandit Algorithms for Website Optimization
O
Reilly
出版社,
http://shop.oreilly.com/product/0636920027393.do ...
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

数据驱动力:企业数据分析实战

数据驱动力:企业数据分析实战

Carl Anderson
Python应用开发指南

Python应用开发指南

Posts & Telecom Press, Ninad Sathaye
管理Kubernetes

管理Kubernetes

Brendan Burns, Craig Tracey

Publisher Resources

ISBN: 9787115475619