Doing ML things without any libraries and with C is a feeling.... like baby walking without the the help of walker or any support. Thanks for such a great thing
Thanks very much for taking the time to make this video. I got your code working, and modified it to do any number of layers and any number of nodes. I could not have done it without your help. What really helped a lot was the fact that you found the simplest complex case - the XOR gate! An OR gate or AND gate would have been too simple, but XOR is just complex enough to see the AI doing its stuff. Bravo.
Thanks a lot for watching Mark! glad that it helped you out. Really appreciate ur kind words aswell. If u don’t mind sharing the general code with me. I would love to take a look at it and maybe do a video about it. My mail is thecodinglibraryyt@gmail.com just in case
at 44:45 error += deltaOutput[k] * outputWeights[j][k]; the errors individually can be huge but their sum can be == 0 because negative errors may compensate positive errors; so errors should be ABS(error) or error*error... Pls correct me if I'm wrong....
@@NicolaiAI Interesting. Thank You again for this amazing tutorial done in C, super helpful to make and design AI fine tuned for different embedded NPU/GPU/CPU hardware. I have tried looking for books and online courses to do these task all in pure C and if not C++ and couldn't find any, however your channel have many tutorials into it.
They are equivalent here since we take the sigmoid of the values in the hidden layer and output layer and then we pass those values into our dsigmoid. Ur formula is correct but we already have our sigmoid values in this example
watching this tutorial having never programmed in c before time to reimplement this all in rust XD (im trying to code an OS and i want to try implementing some cool features)
Join My AI Career Program
www.nicolai-nielsen.com/aicareer
Enroll in My School and Technical Courses
www.nicos-school.com
Doing ML things without any libraries and with C is a feeling.... like baby walking without the the help of walker or any support. Thanks for such a great thing
Thanks a lot! Haha yeah that’s so true
Thank you so much for the video. It was my first time coding NN's, and everything was so clear and easy to follow!
Thank u so much! Really appreciate it
Great idea, doing a project like this without any libraries basically guarantees I understand both C and ML, the perfect learning experience.
Thanks a lot! Totally agree
great job man! finnaly something so minimal, simple and comprehencible. Without Bias arraies it gets even more cleaner.. and with the same result ;)
Thanks a lot for watching!
Thanks a lot for the comprehensive code mate, I was able to re-implement this in Rust with almost no issues
Thanks very much for taking the time to make this video. I got your code working, and modified it to do any number of layers and any number of nodes. I could not have done it without your help. What really helped a lot was the fact that you found the simplest complex case - the XOR gate! An OR gate or AND gate would have been too simple, but XOR is just complex enough to see the AI doing its stuff. Bravo.
Thanks a lot for watching Mark! glad that it helped you out. Really appreciate ur kind words aswell. If u don’t mind sharing the general code with me. I would love to take a look at it and maybe do a video about it. My mail is thecodinglibraryyt@gmail.com just in case
Followed it in JavaScript, and it works !
Thank you !
Great!
Can i use the this house prediction data purpose
wow man, that is very cool. I have only come across this in python but not C. Keep it up!
Thanks a lot man!
at 44:45 error += deltaOutput[k] * outputWeights[j][k]; the errors individually can be huge but their sum can be == 0 because negative errors may compensate positive errors; so errors should be ABS(error) or error*error... Pls correct me if I'm wrong....
this video rocks, its a lot to take it at once i had to watch it in chunks but i'm excited to use it to build something for my portfolio!
Sounds awesome man! Thanks for watching
Tysm Man i was searching for this for a long time you are the best! =)
Thanks for watching bro! Means a lot to me
Thank you so much for sharing such a knowledge
Thanks for watching!
@@NicolaiAI do you think there is way to make a gan with c ?
That's cool. Maybe it makes sense to do a training course on the use of С in the world of finance.
Thanks for the suggestion!
Thanks, How Can Implant Levenberg-Marquardt algorithm in cpp? for nn
Thanks, great to see implementation in good old "C". Can this also apply for convulsion networks?
Thanks for watching! Yeah but cnn would be a bit more complex since we will add more dimensions
@@NicolaiAI Interesting. Thank You again for this amazing tutorial done in C, super helpful to make and design AI fine tuned for different embedded NPU/GPU/CPU hardware. I have tried looking for books and online courses to do these task all in pure C and if not C++ and couldn't find any, however your channel have many tutorials into it.
@@ShopperPlug thanks a lot for the nice words! Really appreciated it
Doing it without libraries at fist is how you are guaranteed to understand it.
Is this code still available on your github page? I don't see it.
Yeah should be in there somewhere
letter for letter i copied this, it never finishes a training loop
stack around variables corrupt. the variable changes.
Try removing the return 0; at the end and tell me if it work
nice video and very good explanation!
Glad you liked it! My pleasure
Where is the dc link?
dSigmoid should be sigmoid(x) * (1 - sigmoid(x) ) not x * (1-x), am i wrong? i am so confused in this part
They are equivalent here since we take the sigmoid of the values in the hidden layer and output layer and then we pass those values into our dsigmoid. Ur formula is correct but we already have our sigmoid values in this example
Don't really get the shuffle part, could you explain it in more detail?
why not using the real Dsigmoid (replacing x by sigmoid(x)) ?
thank you. I can make my owned library for regression
Awesome man! Yeah def do that. Great learning
@@NicolaiAI yeah awesome, Man.
please make a new video like this that helped much and i learned how to code nn myself
Thanks a lot man! Glad that u learned something from the video
Is c++ similar?
Yeah its almost the same in this case
thank you so much.
Thanks for watching!
Perfect!!!
Thanks a lot!
*me following with the rust programming language*
Awesome! Great idea
@@NicolaiAI :)
watching this tutorial having never programmed in c before
time to reimplement this all in rust XD (im trying to code an OS and i want to try implementing some cool features)
Sounds very cool!
How's the OS project going?
Mange tak!
Tak for kigget!
For(k) error
Line 56
32:32
👍