Why is Linear Algebra Useful?

  Рет қаралды 140,263

365 Data Science

365 Data Science

5 жыл бұрын

👉Sign up for Our Complete Data Science Training with 57% OFF: bit.ly/3sJATc9
👉 Download Our Free Data Science Career Guide: bit.ly/47Eh6d5
Why is linear algebra actually useful? There very many applications of linear algebra. In data science, in particular, there are several ones of high importance. Some are easy to grasp, others not just yet. In this lesson, we will explore 3 of them:
• Vectorized code also known as array programming
• Image recognition
• Dimensionality reduction
Okay. Let’s start from the simplest and probably the most commonly used one - vectorized
code. We can certainly claim that the price of a house depends on its size. Suppose you know
that the exact relationship for some neighborhood is given by the equation:
Price equals 10,190 + 223 times size. Moreover, you know the sizes of 5 houses 693, 656, 1060, 487, and 1275 square feet.
What you want to do is plug-in each size in the equation and find the price of each house,
right?
Well, for the first one we get: 10190 + 223 times 693 equals 164,729. Then we can find the next one, and so on, until we find all prices.
Now, if we have 100 houses, doing that by hand would be quite tedious, wouldn’t it?
One way to deal with that problem is by creating a loop. You can iterate over the sizes, multiplying
each of them by 223, and adding 10,190. However, we are smarter than that, aren’t we? We know some linear algebra already. Let’s explore these two objects:
A 5 by 2 matrix and a vector of length 2. The matrix contains a column of 1s and another - with the sizes of the houses. The vector contains 10,190 and 223 - the numbers from the equation.
If we go about multiplying them, we will get a vector of length 5. The first element will be equal to:
1 times 10,190 plus 693 times 223. The second to:
1 times 10,190 plus 656 times 223. And so on.
► Consider hitting the SUBSCRIBE button if you LIKE the content: kzbin.info...
► VISIT our website: bit.ly/365ds
🤝 Connect with us LinkedIn: / 365datascience
365 Data Science is an online educational career website that offers the incredible opportunity to find your way into the data science world no matter your previous knowledge and experience. We have prepared numerous courses that suit the needs of aspiring BI analysts, Data analysts and Data scientists.
We at 365 Data Science are committed educators who believe that curiosity should not be hindered by inability to access good learning resources. This is why we focus all our efforts on creating high-quality educational content which anyone can access online.
Check out our Data Science Career guides: • How to Become a... (Da...
#LinearAlgebra #Math #DataScience

Пікірлер: 92
@365DataScience
@365DataScience 4 жыл бұрын
🚀Sign up for Our Complete Data Science Training with 57% OFF: bit.ly/3sGBk7a
@harakandijoseph6096
@harakandijoseph6096 3 жыл бұрын
This explanation is of high level. I expected you to explain it using examples of tickets or aeroplane following a line journey. Am I wrong?
@faisaltasleemft
@faisaltasleemft 2 жыл бұрын
Gud basic stuff
@theodenednew8874
@theodenednew8874 4 жыл бұрын
1. Vectorized Code 2. Image Recognition 3. Dimensionality Reduction
@MisouSup
@MisouSup 3 жыл бұрын
Amazing stuff! It's always important to have clear answers for "why do I need to study this"
@mannamahmud398
@mannamahmud398 3 жыл бұрын
Yes... Why shoul we learn messy stuff...? But now i get it..
@tanmoymondal6726
@tanmoymondal6726 3 жыл бұрын
Yes, must must
@THE_MOTOKID
@THE_MOTOKID 2 жыл бұрын
Exactly every messi topic or theory must first be known why to know it or study it where it will help!!
@Unknowledgeable1
@Unknowledgeable1 11 ай бұрын
Elon musk told me the same thing
@siddhantkohli5063
@siddhantkohli5063 Жыл бұрын
I’m pursuing data science as my major n trust me linear algebra is v important if you want to be on top of the game👏🏽 Don’t take it leniently
@valeriisoldatov8854
@valeriisoldatov8854 4 жыл бұрын
I like the way of explaining! Really helps to understand the basics👍
@123ucr
@123ucr 4 жыл бұрын
As someone who has taken Linear Algebra in the past, I must admit Linear Algebra is a fun and worthwhile but challenging math class (especially if you are majoring in Computer Science and Mathematics). Yes, most of the calculations in Linear Algebra are simple, if you know the tricks and the concepts. But, what makes Linear Algebra a difficult math class is the proofs and they require abstract or critical thinking. If I had to rate the difficulty of this math class, I would say it is close to the difficulty level of Calculus 3 and Elementary Differential Equations. Plus, if someone were to pass Calculus 2 and is having trouble picking what math class to take next, I would recommend either taking Linear Algebra or Calculus 3 first, depending on your schedule, professor and school. Better yet, I would recommend taking these math classes concurrently because they go well together. Heck, Linear Algebra and Differential Equations also go well together. Bottom line, Linear Algebra is one of the best Math Classes that STEM majors will enjoy in college assuming if they pay attention and work hard at it.
@123ucr
@123ucr 3 жыл бұрын
@Hugh Jones --- And Linear Algebra knowledge is required for Abstract Algebra, Number Theory and Partial Differential Equations.
@redflag40
@redflag40 3 жыл бұрын
Calc3 and Linear Algebra had minor over lap for me in the beginning, maybe the first two weeks. I would highly recommend that someone take Linear Algebra with Differential Equations or a Discrete Math class.
@hayden3774
@hayden3774 3 жыл бұрын
Linear algebra is next to nothing like calc 3... Calc 3 is way harder. Proofs in linear are so small and simple.. Discrete is when proofs get hard.
@123ucr
@123ucr 3 жыл бұрын
@@hayden3774 --- If we are talking about Calculus 3/Multivariable Calculus/Vector Calculus with an emphasis in Linear Algebra and proofs, then yes I would say that version of Calculus 3 is tougher than Linear Algebra. If we are talking about a less theoretical course in Calculus 3, then I would say the difficulty is on par with Linear Algebra (with the proofs and calculations) and Elementary Differential Equations (with less proofs and more calculations). Having said that, if someone were to pass Calculus 2, I would have them take Calculus 3 and/or Linear Algebra next and then deal with Differential Equations. I would also have them take discrete mathematics/proof writing (this prepares for upper division math classes like Abstract Algebra, Real Analysis, Number Theory, Differential Geometry, Partial Differential Equations, etc.). Note to self, my favorite but hardest math classes that I took in university were Linear Algebra, Multivariable Calculus and Differential Equations. I never got pass those math classes and switched to being an Economics major instead.
@hayden3774
@hayden3774 3 жыл бұрын
@@123ucr Yes calc 3 in CA is multivariable. I say linear is way easier because calc in general is pretty heavy on exponential equations and their graphs. Am a comp sci major dont need differentials unless I am going into computer engineering, at least in CA. My suggestion is calc 1-3, linear, then discrete. Because multiplying matrices is very similar to dot product in calc 3, also it gives an easy break and a taste of doing proofs before discrete. Discrete is the hardest imo.
@proterotype
@proterotype 3 жыл бұрын
Thanks for the video. I’m prepping for a data science bootcamp and it helped to get me reacquainted with some of these concepts
@maxp918
@maxp918 2 жыл бұрын
I dropped out of an IT university years ago, because for months and months we were studying and solving dry higher math problems with the thought that "one day we will see how it's used in real life". I sucked at it, because I didn't like it and didn't understand the principles. Teachers only gave vague answer to the question "Where will we use it?". Being a visual learner, had they shown me a video like this, not only I'd be eager and excited to learn it, but also all of of the methods and principles would make sense.
@staz8671
@staz8671 Жыл бұрын
Most people find it weird when I struggle with a subject if I don't know its real life applications and flourish when I do. It's very frustrating
@DoctrinaMathVideos
@DoctrinaMathVideos 17 күн бұрын
Visual learning will only take you so far in math, that is why it's important to understand how theorems work. Similar reason why it's important to understand vector spaces.
@gursikh133
@gursikh133 3 жыл бұрын
You did a good job. I Loved the way you explained the math skills used in data science.
@user-ln6ol8yy6q
@user-ln6ol8yy6q 3 жыл бұрын
Really awesome, thank you for this clear explanation.
@Saphir__
@Saphir__ 3 жыл бұрын
"We know some linear algebra already don't we?" Uh....no, no we do not.
@reubenchemmanam2502
@reubenchemmanam2502 4 жыл бұрын
great video, thanks!
@Mulkek
@Mulkek 2 жыл бұрын
Thanks, and it's so easy & simple!
@365DataScience
@365DataScience 2 жыл бұрын
Glad you liked it!
@tareqghorbal6761
@tareqghorbal6761 Жыл бұрын
thank you very much
@tylerandrews7258
@tylerandrews7258 2 жыл бұрын
In the first example, what variable would the column of 1's represent if the others represent the size and the constants of the weighting vector? Could it be used to index a house id # or something similar? Or does it need to be all 1's? Great video!
@gdbaursak3048
@gdbaursak3048 3 жыл бұрын
In physics vector is vector!
@aneesurrahman1086
@aneesurrahman1086 4 жыл бұрын
Great way thanks
@EGlobalKnowledge
@EGlobalKnowledge Жыл бұрын
Good explanation
@rontiemens2553
@rontiemens2553 3 жыл бұрын
Excellent.
@bibhutibaibhavbora8770
@bibhutibaibhavbora8770 Жыл бұрын
That's it tis is the video I was looking for.
@logancarvalho
@logancarvalho 2 жыл бұрын
This is great. Mainly because it explains the reasons behind a needed knowledge. It's bad to just say: you need to know linear algebra ok? Why? This video explains a lot. I'll look for further information about it. Thanks
@Galaxia53
@Galaxia53 2 жыл бұрын
You don't even need to learn it if you don't plan on doing anything with it
@emreo.9196
@emreo.9196 3 жыл бұрын
I wish it would longer
@DaviSantos-zm8xo
@DaviSantos-zm8xo 4 жыл бұрын
Great!
@muhammadsuleimanhussain-jf9nz
@muhammadsuleimanhussain-jf9nz Жыл бұрын
VERY NICE
@chicapercebe
@chicapercebe 2 жыл бұрын
pretty interesting!
@henriqueguarnieri9639
@henriqueguarnieri9639 5 жыл бұрын
Amazing !!!!
@likemysnopp
@likemysnopp 4 жыл бұрын
gotta love that z is a 3...
@shameer339
@shameer339 3 жыл бұрын
I Love your videos
@cplusplussizeddick1430
@cplusplussizeddick1430 3 жыл бұрын
9:40 Te
@guitarttimman
@guitarttimman 2 жыл бұрын
Great video, but a word of advice: Anything and everything you can learn about is useful.
@StLennyBruce
@StLennyBruce 3 жыл бұрын
2:20 Isn't it plus 223 times 693?...
@pianochannel100
@pianochannel100 3 жыл бұрын
I am not sure I agree with 'vectorized algorithms are faster'... In python yes, but in general probably not.
@levishhunted7593
@levishhunted7593 2 жыл бұрын
Brilliant
@cswalker21
@cswalker21 3 жыл бұрын
Neat.
@guitarttimman
@guitarttimman 3 жыл бұрын
Here's a challenge: Use visual basic to design a program that will sort records by the millions utilizing the random access function and combining it with matrices. I did that way back in the 80's with GW-Basic. At the time, all other programmers who tried it kept getting the OM (out of memory error). My program worked like a charm. The trouble is that the guy I designed it for ripped it, and now principles of the very same search routine were utilized to acceleration the processing speed in artificial intelligence. At the time I designed the program, I worked for Michael Tellerino in the City of Chicago. A.I., essentially, is what it is today because of me.
@plumSlayer
@plumSlayer Жыл бұрын
So great of you
@guitarttimman
@guitarttimman Жыл бұрын
@@plumSlayer Thank you. As good as that was, it's nothing in comparison to what I could do with the right equipment.
@joliettraveler
@joliettraveler 2 жыл бұрын
This looks like a typical Fortran program using Do loops.
@tolulopeojediran1732
@tolulopeojediran1732 5 жыл бұрын
For someone without prior knowledge in Linear algebra. How does one know it?
@JR-iu8yl
@JR-iu8yl 5 жыл бұрын
Use Google
@NoMomICatntPause
@NoMomICatntPause 4 жыл бұрын
I'm learning it in school right now
@Murmur1131
@Murmur1131 4 жыл бұрын
@@NoMomICatntPause that is super interesting for everyone!
@jorostuff
@jorostuff 3 жыл бұрын
One learns it
@HowTo5min-co3ni
@HowTo5min-co3ni 3 жыл бұрын
Awesoem
@GM-dr8dg
@GM-dr8dg Жыл бұрын
I reject the premise re the first example re real estate. The first part of equation is likely off by a lot because no one wants to admit where there actual lines of value are in terms of where people put value. Zip codes are NOT proxies for real value.
@ducodarling
@ducodarling 4 ай бұрын
Solves problem in two (not well written) lines of code 💡"But we're smarter than that!" Makes a solution that requires a college class This has been my overall experience when it comes to programming and higher maths. It seems like the math is there only to make the solution easier for humans to understand... but that's also the job of software tools, paradigms, and protocols. All programming is "array programming": numbers are arrays of bits, strings are arrays of numbers, and it's all stored in the memory array. How you organize that information in your head is irrelevant as far as computation is concerned. Likewise, how you organize the information in code is only as relevant as the compiler.
@muminraja9949
@muminraja9949 4 жыл бұрын
Can u provide me this full course in hindi.
@loganbender1562
@loganbender1562 Жыл бұрын
If you make video games, you never have to ask if linear algebra is useful.
@muminraja9949
@muminraja9949 4 жыл бұрын
Data scientist.
@kohlyanggmail
@kohlyanggmail 2 жыл бұрын
quite good, thanks, but in RGB, B represents black not blue
@365DataScience
@365DataScience 2 жыл бұрын
RGB stands for Red Green Blue :)
@aleefbilal6211
@aleefbilal6211 2 жыл бұрын
Seriously?
@bzee.
@bzee. 2 жыл бұрын
whoah, theres nothing in the video!
@hamzael9711
@hamzael9711 4 жыл бұрын
Not deep explication, Thanks
@explosivemayhem6266
@explosivemayhem6266 2 жыл бұрын
Why am I a seventh grader watching this???
@willday9316
@willday9316 3 жыл бұрын
You can't spell algebra without bagel
@wdobni
@wdobni Жыл бұрын
why is linear algebra called linear algebra, rather than, say, digressive matrices, or patterned collections
@vilkoos
@vilkoos 4 жыл бұрын
Good start for those who refuse to take anything serious unless they can imagine a practical application. People that are thus inclined probably should not study data science (or any math heavy subject).
@illuminatedperspectives2894
@illuminatedperspectives2894 3 жыл бұрын
USing ladmarks is actually better for navigation because the brain dosnt operate in scientific units of measurement.
@lancelotxavier9084
@lancelotxavier9084 4 жыл бұрын
I chose this video because the thumbnail had a dog.
@AlbertoRivas13
@AlbertoRivas13 4 жыл бұрын
Hahaha
@365DataScience
@365DataScience 4 жыл бұрын
We understand 🐕
@whatevermakesyoulagh4594
@whatevermakesyoulagh4594 4 жыл бұрын
Good for you
@misoadeio
@misoadeio 10 ай бұрын
I am so happy I never learned this. It is more boring than watching the grass grow.
@Pedro_ZKS
@Pedro_ZKS Жыл бұрын
Nah
@facesmelt9903
@facesmelt9903 2 ай бұрын
Actually in 2024 I think they are called "photos of color"
@TheSoorajthevally
@TheSoorajthevally 10 ай бұрын
Good explanation
@365DataScience
@365DataScience 10 ай бұрын
Thanks so much!!
Is the Future of Linear Algebra.. Random?
35:11
Mutual Information
Рет қаралды 225 М.
Introduction to Machine Learning | 365 Data Science Online Course
1:01:18
365 Data Science
Рет қаралды 22 М.
小女孩把路人当成离世的妈妈,太感人了.#short #angel #clown
00:53
2000000❤️⚽️#shorts #thankyou
00:20
あしざるFC
Рет қаралды 13 МЛН
Balloon Stepping Challenge: Barry Policeman Vs  Herobrine and His Friends
00:28
New Gadgets! Bycycle 4.0 🚲 #shorts
00:14
BongBee Family
Рет қаралды 16 МЛН
10 Math Concepts for Programmers
9:32
Fireship
Рет қаралды 1,8 МЛН
A friendly introduction to linear algebra for ML (ML Tech Talks)
38:27
1. The Geometry of Linear Equations
39:49
MIT OpenCourseWare
Рет қаралды 1,6 МЛН
The History of Linear Algebra
16:41
gRocket
Рет қаралды 40 М.
This is why you're learning differential equations
18:36
Zach Star
Рет қаралды 3,4 МЛН
The Notorious Question Six (cracked by Induction) - Numberphile
28:43
What Does a Data Analyst Actually Do?
6:21
365 Data Science
Рет қаралды 17 М.
Why Learn Linear Algebra?
19:19
purdueMET
Рет қаралды 15 М.
How (and why) to raise e to the power of a matrix | DE6
27:07
3Blue1Brown
Рет қаралды 2,7 МЛН
小女孩把路人当成离世的妈妈,太感人了.#short #angel #clown
00:53