12
u/kattmaskinen 18d ago
Is that all it takes??
8
5
u/serge-mv 18d ago
It's not all it takes, but that is the base. All math for LLMs is done with linear algebra and you really need to do a series of fairly complex matrix manupulations.
2
2
u/HAL9001-96 16d ago
those matrix mulitplicatiosn are not complex neither in the mathematical sense nor in the common sense of the word
3
u/MrFrog2222 18d ago
No, it is the main part of it, but you'll also need to understand calculus for example for back propagation.
3
u/Significant-Baby-690 17d ago
Well you need to understand what derivation is and you have to be able to understand derivation of RELU function. High school level stuff.
Intuitive understanding of linear algebra is lot more useful. On the other hand, all you really need is python and "import torch".
2
u/HAL9001-96 16d ago
well the mathematical/code end is trivial the real question is how muhc training data you can dump into it
1
u/Pretty-Character-437 12d ago
It depends on what you mean. Linear regression, which is really just a high school topic, already gives you interpolation and extrapolation, that is, it lets you predict what the target value will be for a given input value. Linear algebra becomes important when you have several input variables. Instead of fitting one line, you work with groups of numbers, data tables, and shapes in higher-dimensional spaces.
3
u/MusicBlock5774 17d ago
All jokes aside, I think learning at least intuitively how AI works would demystify a lot of things about it... At least, I personally think it would be very interesting to learn.
2
u/Chainmale001 17d ago
Laughs in perfect math scores till statistics (Took a game theory class and it was the same lessons but better professor)
2
2
2
2
1
1
1
1
1
1
1
u/Knight618 14d ago
I do not wish for ai to exist, but am absolutely willing to suffer the pain of linear algebra
1
1
u/GregDev155 12d ago
Linear algebra ?
Y = ax + b ?
1
u/Grshppr-tripleduoddw 12d ago
Linear algebra has more complicated linear equations, with many variables. You must learn how a linear equation or a system of linear equations work with any amount of variables and equations. Linear algebra also has matrix multiplication. [[a,b],[c,d]]x[[e,f],[g,h]] = [[ae+bg, af+bh],[ce+dg, cf+dh]] that is just an example with the 2x2 matrices case.
1
1
1
0
18d ago
[deleted]
0
u/Street_Swing9040 17d ago
Why not? If you can use and build it in a beneficial way it's a great tool.
And why wouldn't you not learn algebra? You learnt that in primary school already.
If you mean linear algebra, that's a maths skill required for many things beyond artificial intelligence.

18
u/FN20817 17d ago
I want to learn linear algebra but don’t want to build AI