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 面向数据科学家的实用统计学
统计机器学习
|
163
机器学习与统计学
机器学习和统计学在预测建模上有哪些差别?二者之间并不存在一条明确的
分界线。机器学习更关注如何开发可扩展到大规模数据上的高效算法,以便
于优化预测模型。统计学更关注的是概率理论和模型的底层结构。
Bagging
算法和随机森林方法(参见
6.3
节)完全是从统计学领域发展出来的。而
Boosting
方法(参见
6.4
节)是从这两个学科中发展起来的,只是在机器学
习一方得到了更多的关注。如果不看历史的话,
Boosting
的发展确保了该技
术同时适用于统计学和机器学习这两个领域。
6.1
 
K
最近邻算法
K
最近邻
(
KNN
)算法的理念非常简单。
1
对于每个要进行分类或预测的记录,该算法:
(1)
找出
K
个具有相似特征(即具有相似的预测值)的记录。
(2)
对于分类,找出这些相似记录中的多数类,将其指定为新记录的类。
(3)
对于预测(也称为
KNN
回归
),找出这些相似记录的均值,并将该均值作为新记录的
预测值。
主要术语
近邻
具有相似预测值的两个记录。
距离度量
以单一数值的形式,测量两个记录之间的距离。
标准化
减去均值,并除以标准偏差。
同义词:归一化
z
分数
标准化后得到的值。
K
在最近邻计算中考虑的近邻个数。
K
最近邻算法是一种简单的预测和分类技术,它不像回归那样需要拟合一个模型。但这并
不意味着使用
K
最近邻算法不需要人工干涉。
K
最近邻算法的预测结果取决于特征的规
模、相似性的测定方法以及
K
值的设置等因素。此外,在
K
最近邻算法中,所有的预测变
量必须是数值型的。下面通过一个分类例子介绍
K
最近邻算法。 ...
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