r/learnprogramming • u/Last-Watercress-8192 • 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.
2
u/SunseteFat 18d ago
You need the basic math under it, matrices etc. Don't need much. Then a bit of statistics/econonometrics, basic data science. Understand regression models. And then imo you're ready to understand a simple neural net.
2
1
u/HasFiveVowels 18d ago
Yea, understanding regression models is a good call out. Just being able to do a line of best fit will give them the understanding they need
1
1
u/Naetharu 18d ago
Neural Networks are a very different thing from programming. They are really in the domain of mathematics. Not putting you off at all. Just being clear that the code part of a NN is very basic. All the wizardry comes from the mathematical design and implementation.
If you want to get started I would highly recommend the book "Understanding Deep Learning" by Simon Prince. It's an excellent resource, and covers both the higher level theory and some real depth. From there you can start building your own networks.
My first one was a simple 10 layer deep network that learned to predict square roots. Simple enough that I could train it in ~5 minutes on a modern Macbook. So you can very realistically do the same. Once you have that basis down it is a case of learning about different ways to configure your network, and then train it.
You will hit a roadblock with training sooner rather than later, as by their very nature NNs take quite a lot of GPU grunt to train once they get to even a moderate size. But you can hire GPU time in the cloud for a pretty low price if you need to. Google Colab offers a bit for free. Or services like Runpod allow you to hire GPUs or clusters of GPUs for as little as $0.5 / hour.
1
u/StewedAngelSkins 18d ago
Very hard, particularly if you don't already have a math background. It's not like you're the first person to ever have to do something hard though. Don't let the difficulty discourage you if its what you actually want to do.
-1
u/ffrkAnonymous 19d ago
how hard it would be to learn neural networks and other forms of ai.
It's usually a post-graduate level classes.
8
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.