Skip to Content
深度学习:核心原理与案例分析
book

深度学习:核心原理与案例分析

by Posts & Telecom Press, Ahmed Menshawy
May 2024
Intermediate to advanced
389 pages
6h 49m
Chinese
Packt Publishing
Content preview from 深度学习:核心原理与案例分析

第2章 数据建模实战——“泰坦尼克号”示例

线性模型是数据科学领域的基本学习算法。理解线性模型如何工作对于学习数据科学至关重要,因为它是大多数复杂学习算法(包括神经网络)的基本构建模块。

本章将深入讲解数据科学领域的一个著名问题——“泰坦尼克号”示例。介绍这个例子的目的是引入线性模型以进行分类,并让读者看到一个完整的机器学习系统的运行过程,从数据的处理和探索到模型的评估。本章将介绍以下主题。

  • 线性回归模型。
  • 线性分类模型。
  • “泰坦尼克号”示例——建立和训练模型。
  • 不同类型的误差解析。

线性回归模型是最基本的回归模型,并且广泛用于可预测数据的分析。回归模型的总体思路是检查以下两件事情。

  • 一组解释性特征/输入变量是否在预测输出变量方面做得很好?该模型是否使用了可以解释因变量(输出变量)变化的特征?
  • 哪些特征是因变量的重要特征?它们以何种方式影响因变量(由参数的大小和符号表示)?回归参数用于解释一个输出变量(因变量)与一个或多个输入要素(自变量)之间的关系。

回归方程可表达输入变量(自变量)对输出变量(因变量)的影响。具有一个输入变量和一个输出变量的等式是回归方程最简单的形式,回归方程定义为y = c+bx。这里,y是被预测的因变量,c是常数,b是回归参数/系数,x是输入(自)变量。

线性回归模型是许多学习算法的基础模块,但这并不是它们受欢迎的唯一原因。以下是它受欢迎的关键因素。

  • 广泛使用:线性回归是最古老的回归方法,它广泛应用于许多应用,如预测和财务分析。
  • 运行速度快:线性回归算法非常简单,不包含复杂的数学计算。
  • 易于使用(不需要很多调参操作):线性回归非常易于使用,而且在大多数情况下,它是读者在机器学习或数据科学课程中学习的第一种学习方法,因为它没有太多的超参数需要调整以获得更好的性能。 ...
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

scikit-learn机器学习(第2版)

scikit-learn机器学习(第2版)

Posts & Telecom Press, Gavin Hackeling
自然语言处理与计算语言学

自然语言处理与计算语言学

Posts & Telecom Press, Bhargav Srinivasa-Desikan
Python机器学习案例精解

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu
Python数据分析(第2版)

Python数据分析(第2版)

Posts & Telecom Press, Armando Fandango

Publisher Resources

ISBN: 9781836201212