【外文原版书阅读】《机器学习前置知识》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" 之后原文似乎不完整 )通过向量加法,我们可以知道球会向东北方向运动。如果你想计算球的速度,可以使用勾股定理,即 。这是一个简单的例子,并且忽略了风的阻力。

相关推荐
追烽少年x1 分钟前
C++中tuple的用法
开发语言·c++
limingade5 分钟前
Android应用app实现AI电话机器人接打电话
android·人工智能·机器人·蓝牙电话·ai电话机器人·android通话ai·安卓ai电话
大学生毕业题目20 分钟前
毕业项目推荐:基于yolov8/yolo11的苹果叶片病害检测识别系统(python+卷积神经网络)
python·深度学习·yolo·cnn·苹果叶片病害·叶片病害·苹果病害
阳洞洞25 分钟前
c++中如何打印未知类型对象的类型
开发语言·c++·算法
limingade36 分钟前
手机打电话时如何识别对方按下的DTMF按键的字符-安卓AI电话机器人
android·人工智能·物联网·智能手机·语音识别·信号处理
L73S371 小时前
C++入门(2)
c++·程序人生·考研·蓝桥杯
JuicyActiveGilbert1 小时前
第8天:面向对象编程入门 - 类与对象
开发语言·c++
Darkwanderor1 小时前
类和对象——const修饰的类的对象和函数
c++·const
Darkwanderor1 小时前
类和对象——拷贝对象时的一些编译器优化
c++