【外文原版书阅读】《机器学习前置知识》1.线性代数的重要性,初识向量以及向量加法

目录

​编辑

​编辑

[1.Chapter 2 Why Linear Algebra?](#1.Chapter 2 Why Linear Algebra?)

[2.Chapter 3 What Is a Vector?](#2.Chapter 3 What Is a Vector?)


个人主页:Icomi

大家好,我是Icomi,本专栏是我阅读外文原版书《Before Machine Learning》对于文章中我认为能够增进线性代数与机器学习之间的理解的内容的一个输出,希望能够帮助到各位更加深刻的理解线性代数与机器学习。若各位对本系列内容感兴趣,可以给我点个关注跟进内容,我将持续更新。

本专栏与我的《PyTorch入门》结合将理解更深刻。

专栏地址:PyTorch入门

1.Chapter 2 Why Linear Algebra?

There are a lot of us pressing buttons. Still, only a few of us are building them. If you want to succeed as a data scientist, it would be better to take a button-builder path. What this means is that you will have to learn mathematics.

我们很多人都只会按按钮,却只有少数人在制造按钮。如果你想成为一名成功的数据科学家,最好选择成为 "造按钮的人"。这意味着你必须学习数学。

Linear algebra is essential to forming a complete understanding of machine learning. The applications are countless, and the tech-niques from this discipline belong to a shared collection of algorithms widely used in artificial intelligence. Its properties and methods allow for faster computation of complex systems and the extraction of hidden relationships in sets of data.

线性代数对于全面理解机器学习至关重要。它的应用数不胜数,该学科的技术属于人工智能领域广泛使用的算法集合。线性代数的特性和方法能够更快地计算复杂系统,并提取数据集中隐藏的关系。

2.Chapter 3 What Is a Vector?

(1)

You can think of a vector in simple terms as a list of numbers where the position of each item in this structure matters. In machine learning, this will often be the case. For example, if you are analysing the height and weight of a class of students, in this domain, a twodimensional vector will represent each student:

简单来说,你可以把向量看作是一个数字列表,其中每个元素在这个结构中的位置都很重要。在机器学习中,通常就是这种情况。例如,如果你要分析一个班级学生的身高和体重,在这个领域,一个二维向量可以代表每个学生:

这里V1代表一名学生的身高,V2代表同一名学生的体重。通常情况下,如果你要为另一名学生定义另一个向量,各量值的位置应该保持一致。所以第一个元素是身高,第二个是体重。这种看待向量的方式常被称为 "计算机科学定义"。我不确定这种说法是否准确,但它确实是一种运用向量的方式。另一种与线性代数联系更紧密的对这些元素的解释是,把向量看作是一个箭头,其方向由坐标决定。它的起点位于原点,也就是像、平面这样的坐标系中的(0,0)点。括号里的数字就是向量的坐标,用于表明箭头的落点:

(2)向量加法:

We can explore a visualization to understand these so-called translations better and solidify this concept of vector addition:One can utilize vector addition in many real-life scenarios. For example, my cousin has a kid with these long arms who can throw a golf ball at 60 km/h:One day we were driving a car north at 60 km/h. From the back seat, he threw this golf ball through the window directly to the east. If we want to comprehend the direction and velocity of the ball relative to the ground, we can use vector addition. From vector

我们可以通过可视化的方式来更好地理解这些所谓的平移,并强化向量加法这一概念:向量加法在许多现实场景中都能派上用场。例如,我表哥家孩子胳膊很长,能以每小时 60 公里的速度扔出高尔夫球。有一天,我们以每小时 60 公里的速度向北驾车行驶。他从后座将这个高尔夫球直接朝车窗外向东扔出。如果我们想了解球相对于地面的方向和速度,我们可以使用向量加法。从向量...... (这里 "From vector" 之后原文似乎不完整 )通过向量加法,我们可以知道球会向东北方向运动。如果你想计算球的速度,可以使用勾股定理,即 。这是一个简单的例子,并且忽略了风的阻力。

相关推荐
恒者走天下39 分钟前
秋招落定,拿到满意的offer,怎么提高自己实际的开发能力,更好的融入团队
c++
天若有情6731 小时前
【c++】手撸C++ Promise:从零实现通用异步回调组件,支持链式调用+异常安全
开发语言·前端·javascript·c++·promise
杭州泽沃电子科技有限公司1 小时前
在线监测:为医药精细化工奠定安全、合规与质量基石
运维·人工智能·物联网·安全·智能监测
GIS数据转换器1 小时前
GIS+大模型助力安全风险精细化管理
大数据·网络·人工智能·安全·无人机
学困昇1 小时前
C++中的异常
android·java·c++
OJAC1112 小时前
AI跨界潮:金融精英与应届生正涌入人工智能领域
人工智能·金融
机器之心2 小时前
Adam的稳+Muon的快?华为诺亚开源ROOT破解大模型训练「既要又要」的两难困境
人工智能·openai
合作小小程序员小小店2 小时前
桌面安全开发,桌面二进制%恶意行为拦截查杀%系统安全开发3.0,基于c/c++语言,mfc,win32,ring3,dll,hook,inject,无数据库
c语言·开发语言·c++·安全·系统安全
可观测性用观测云2 小时前
观测云 MCP Server 接入和使用最佳实践
人工智能
Codeking__2 小时前
C++ 11 atomic 原子性操作
开发语言·c++