45

Linear Algebra Essentials with Numpy (part 1)

 5 years ago
source link: https://www.tuicool.com/articles/fm6N3qQ
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Linear Algebra Essentials with Numpy (part 1)

Ah, math. You can’t avoid it forever. You can try, and then try harder, but sooner or later some basic intuition behind it will be needed, provided that you are serious in your endeavors to advance your career in data science.

RJJzAvQ.jpg!web

Photo by Antoine Dautry on Unsplash

When it comes to linear algebra, I really like this quote:

If Data Science was Batman, Linear Algebra would be Robin.[1]

It neatly captures the essence in a non-technical way.

Why should I study linear algebra?

Great question.

Simply put, if you understand it, you will be able to develop a better intuition for machine learning and deep learning algorithms and you won’t treat them as black boxes. Furthermore, you would also be capable of developing algorithms from scratch and making your own variations of them.

Not only that, but you will also be considered as a cool kid, like these two:

By GIPHY

So awesome.

Why should I read this post?

This post certainly won't teach you every nitty-gritty detail about the topic, there are a plethora of books which cover those. The post also won’t dive into proofs, again, read a book from some math or tech faculty if you are into that. This post will, however, provide you with an essential intuition behind linear algebra (and some light calculations) in 14 different areas.

Yes, you’ve read that right. I’m planning to cover 14 different topics in two articles. It will take you some time to read it (and for me to write it), but if you are new to this I would strongly advise reading 2–3 topics per day at most, and then searching the web for more practice problems.

How is the article structured?

So each of the topics is divided into 3 parts:

  1. Theoretical explanation
  2. Example (by hand calculations)
  3. Implementation in Python (with Numpy)

I won’t lie to you — it will be a lot of work. This first part will cover Vectors , and here’s the topic list:

  1. Addition
  2. Scalar Multiplication
  3. Dot Product
  4. Norm
  5. Unit Vector
  6. Angle Between Vectors

Now when the introduction is over, let’s not postpone the inevitable. Grab a cup of coffee (or something stronger) and come with me to the amazing world of linear algebra.

You after finishing this article. By GIPHY

Recommend

  • 33
    • www.tuicool.com 6 years ago
    • Cache

    Getting started with linear algebra

    I’d like to introduce a series of blog posts and their corresponding Python Notebooks gathering notes on the Deep Learning Book from Ian Goodfellow, Yoshua Bengio, and Aaron...

  • 21

    README.md 18.06 线性代数(Linear Algebra)中文笔记 该笔记总结了我们在学习MIT线性代数课程的学习经验和过程。 课程顺序是按照麻省理工公开...

  • 27
    • www.tuicool.com 5 years ago
    • Cache

    Linear Algebra of Types

    It gives my brain a pleasant thrum to learn new mathematics which mimics the algebra I learned in middle school. Basically this means that the new system has operations with properties that match those of regular numbers...

  • 18

    Abstract: We observe a disconnect between the developers and the end users of linear algebra libraries. On the one hand, the numerical linear algebra and the high-performance communities invest significant effor...

  • 22

    Linear Algebra Basics: Dot Product and Matrix Multiplication Explained with examples Photo by

  • 19

    Computational Linear Algebra for Coders This course is focused on the question: How do we do matrix computations with acceptable speed and acceptable accuracy? This course was taught in...

  • 33

    Linear Algebra for Data Scientists — Explained with NumPy The core concepts and practices of linear algebra.

  • 5
    • betterexplained.com 4 years ago
    • Cache

    An Intuitive Guide to Linear Algebra

    An Intuitive Guide to Linear Algebra Despite two linear algebra classes, my knowledge consisted of “Matrices, determinants, eigen something something”. Why? Well, let’s try this course format: Name the course L...

  • 9

    线性代数(linear algebra)百度百科版本线性代数是数学的一个分支,它的研究对象是向量,向量空间(或称线性空间),线性变换和有限维的线性方程组。向量空间是现代数学的一个重要课题;因而,线性代数被广泛地应用于...

  • 14
    • nla-group.org 4 years ago
    • Cache

    Numerical Linear Algebra Group

    Numerical Linear Algebra Group Activities 2020 The Numerical Linear Algebra Group had a productive year in 2020, despite working remotely from March onwards because of the pandemic. This post summarizes what we got up t...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK