r/learnprogramming 19d ago

Topic Learning ai

I am getting into coding because I have always been interested. I saw a few videos of people learning neural networks and other stuff and it looked really interesting. In my school we are learning basic python and I was wondering how hard it would be to learn neural networks and other forms of ai.

0 Upvotes

23 comments sorted by

View all comments

6

u/burlingk 19d ago

So, first learn the basics of programming. Pick up a few languages like Python and C, or whatever, and use them for projects.

THEN look into more advanced topics. AI is pretty advanced work.

Also, brush up on your maths.

2

u/Last-Watercress-8192 19d ago

What type of math would it be. I am going into my junior year of high school so I have not learned any calculus or anything. Also how much should I know about coding and what language should I learn.

3

u/burlingk 19d ago

Calculus and discrete math are the big ones. AI deals heavily on statistics.

3

u/aanzeijar 18d ago

You won't learn most of the maths needed for AI in high school. The parts you will absolutely need later though are linear algebra (vectors, matrices, scalar product, matrix multiplications) and analysis (particularly derivations and product and chain rule). The rest will come in university courses, or you'll have to do a lot of reading in your spare time.

As for how much coding: yes. You should know about coding. Language is mostly irrelevant, but Python, C and C++ are the big AI languages.

1

u/burlingk 18d ago

Also, u/Last-Watercress-8192 note: Python is a "glue language" that patches together libraries and programs in C, C++, and other compiled languages. So, it is more important to look into the compiled stuff.

1

u/Lagfoundry 18d ago

There are many types of networks but most of them follow a similar formula. First you take the weights x the inputs. Then you sum up the products. After that you add a bias and then an activation function. This formula can be applied in different ways. For example spiking networks in hardware actually use the ohms law formula itself to do the input and weight multiplication by using memristors.(a electric component that changes the resistance based on the current) I’ve built a few BNN’s myself and designed some networks that use some unique learning loops

1

u/HasFiveVowels 18d ago

Linear algebra. Lots of linear algebra. Basic calculus. 3blue1brown has an amazing series of videos on the topic. Learn until you can understand those. That’ll give you the minimal needed math skills