Skip to Content
基于AWS的数据科学实践
book

基于AWS的数据科学实践

by Chris Fregly, Antje Barth
September 2022
Intermediate to advanced
549 pages
11h 27m
Chinese
China Electric Power Press Ltd.
Content preview from 基于AWS的数据科学实践
450
|
第
11
章
也将计算接收到消息的持续近似计数(
continuous approximate count
)。这一在线消
息的计数可用于数字营销团队以衡量社交媒体活动的有效性。
本章提供描述性分析(汇总统计)和预测分析的示例,使用我们在前面章节训练、
微调并部署的基于
BERT
的
SageMaker
模型。
11.1
在线学习与离线学习
在第
9
章,我们通过使用来自示例客户评价应用的实时回报数据持续训练强化学习
模型,演示了如何进行近实时的“在线学习”。在线机器学习或增量机器学习是机
器学习的一个小的子集,其有些难以采用经典离线算法进行有效的在线训练。借助
在线学习,新数据并入模型而无需使用完整数据集完全重新训练模型。
一般来说,线性算法,例如线性回归(
linear regression
)、逻辑回归(
logistic
regression
)和
K
均值聚类(
K-Means Clustering
),由于其背后的数学方法相对简单,
更容易使用实时数据进行训练。
Scikit-learn
支持对特定线性算法调用
partial_fit()
函数进行增量学习。
Apache Spark
支持流版本的线性回归和
K
均值聚类。
深度学习算法也能够进行在线学习,因为其使用微小批量的新数据对学到的权重持
续进行微小调整。事实上,任何时候我们从已有模型检查点或预训练模型(而非随
机的初始权重)训练深度学习模型,我们就是在运行增量在线学习,尽管由于数据
通常从磁盘而非流传递至算法这种方式通常较慢。
11.2
流应用
流应用数据不像传统应用数据那样,通常由 ...
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

设计机器学习系统

设计机器学习系统

Chip Huyen
Spark快速大数据分析(第2版)

Spark快速大数据分析(第2版)

Jules S. Damji, Brooke Wenig, Tathagata Das, Denny Lee

Publisher Resources

ISBN: 9787519869663