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机器学习基础教程
126
3
fig, axes = plt.subplots(4, figsize=(8, 4), gridspec_kw={'hspace': .5},
subplot_kw={'xticks': (), 'yticks': ()})
for model, name, ax in zip(models, names, axes):
ax.set_title(name)
ax.plot(model[:, :3], '-')
3-19:利用 NMF PCA 还原混合信号源
图中包含来自
X
100
次测量中的
3
次,用于参考。可以看到,
NMF
在发现原始信号源
时得到了不错的结果,而
PCA
则失败了,仅使用第一个成分来解释数据中的大部分变化。
要记住,
NMF
生成的分量是没有顺序的。在这个例子中,
NMF
分量的顺序与原始信号完
全相同(参见三条曲线的颜色),但这纯属偶然。
还有许多其他算法可用于将每个数据点分解为一系列固定分量的加权求和,正如
PCA
NMF
所做的那样。讨论所有这些算法已超出了本书的范围,而且描述对分量和系数的约
束通常要涉及概率论。如果你对这种类型的模式提取感兴趣,我们推荐你学习 scikit-
learn 用户指南中关于独立成分分析(
ICA
)、因子分析(
FA
)和稀疏编码(字典学习)等
的内容,所有这些内容都可以在关于分解方法的页面中找到(
http://scikit-learn.org/stable/
modules/decomposition.html
)。
3.4.3
 用
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