Build a Neural Net in 4 Minutes




[ad_1]

How does a Neural network work? Its the basis of deep learning and the reason why image recognition, chatbots, self driving cars, and language translation work! In this video, i’ll use python to code up a neural network in just 4 minutes using just the numpy library, capable of doing matrix mathematics.

Code for this video:
https://github.com/llSourcell/Make_a_neural_network

I created a Slack channel for us, sign up here:
https://wizards.herokuapp.com/

Please Subscribe! That is the thing you could do that would make me happiest.

I recently created a Patreon page. If you like my videos, feel free to help support my effort here!:
https://www.patreon.com/user?ty=h&u=3191693

2 Great Neural Net Tutorials:

(please subscribe for more videos like these! )

1. https://medium.com/technology-invention-and-more/how-to-build-a-simple-neural-network-in-9-lines-of-python-code-cc8f23647ca1#.l51z38s7f

2. https://iamtrask.github.io/2015/07/12/basic-python-network/

Awesome Tutorial Series on Neural Networks:

http://lumiverse.io/series/neural-networks-demystified

The Canonical Machine Learning Course:

https://www.coursera.org/learn/machine-learning

Curious just how inspired neural networks are from brain architecture? Take some time to learn about the human brain! This is my favorite intro to neuroscience course:

https://www.mcb80x.org/
Follow me:
Twitter: https://twitter.com/sirajraval
Facebook: https://www.facebook.com/sirajology Instagram: https://www.instagram.com/sirajraval/ Instagram: https://www.instagram.com/sirajraval/
Signup for my newsletter for exciting updates in the field of AI:
https://goo.gl/FZzJ5w
Hit the Join button above to sign up to become a member of my channel for access to exclusive content!

Source


[ad_2]

Comment List

  • Siraj Raval
    November 22, 2020

    I'm confused, what was the definition of the error in this model? And why was the sigmoid function used?

  • Siraj Raval
    November 22, 2020

    Why the random.seed(1) is '1' and not 'none' ?

  • Siraj Raval
    November 22, 2020

    Help I took too much adderall and created an AI rendering youtube creators obsolete oh God oh fuck

  • Siraj Raval
    November 22, 2020

    What IDE are you using?

  • Siraj Raval
    November 22, 2020

    which IDE is this one?? or text editor

  • Siraj Raval
    November 22, 2020

    Some intuition tells me this is a great introductory video for AI,
    but consciously, I didn't understand a word of it.

  • Siraj Raval
    November 22, 2020

    Thank you so much for this! I love this style. It tells me everything I need to know and I can learn those things at my own pace by watching other videos about it.

  • Siraj Raval
    November 22, 2020

    jesus fucking christ… my computer grew legs and walked out the front door.

  • Siraj Raval
    November 22, 2020

    How many of you noticced?

    import numpy as numpy ๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚

  • Siraj Raval
    November 22, 2020

    Code:

  • Siraj Raval
    November 22, 2020

    This video with playback speed 0.5x will be the perfect option for me…
    Is that what you mean nn in 4min?๐Ÿ™„

  • Siraj Raval
    November 22, 2020

    If you download and watch it at x206 speed you can build the network in 1 second!

  • Siraj Raval
    November 22, 2020

    Mantap videonya.
    Saya juga ada nih rekomendasi channel lain buat belajar neural network siapa tau cocok hehe.

    https://youtu.be/vyAsO_fzNF8

  • Siraj Raval
    November 22, 2020

    Indians are smart but not as smart as me but iam Indian

  • Siraj Raval
    November 22, 2020

    Nothing has ever made me feel more utterly stupid than this vid

  • Siraj Raval
    November 22, 2020

    i think this may be a bit old ๐Ÿ™

  • Siraj Raval
    November 22, 2020

    I program you to say that

  • Siraj Raval
    November 22, 2020

    He even playgiarizes this from udeemy course. Shameless scaammer

  • Siraj Raval
    November 22, 2020

    Fraud

  • Siraj Raval
    November 22, 2020

    When I pass through more than 150-200 samples in the network, I get awful predictions, can someone help me? (I'm not pushing random data)

  • Siraj Raval
    November 22, 2020

    he looks like hes gone crazy tbh 3:20

  • Siraj Raval
    November 22, 2020

    Initially the video seems very complex. The speed up the already fast video to 2x (atleast). Then watch the coding part on loop.
    After watching it 4 times I understood the code perfectly. It saves time. repetitions matter.
    Siraj, when can we expect new videos?

  • Siraj Raval
    November 22, 2020

    4 minute abs!

  • Siraj Raval
    November 22, 2020

    took me 20 minutes to just understand whats going on here

  • Siraj Raval
    November 22, 2020

    what softwere

  • Siraj Raval
    November 22, 2020

    You explain for 4 minutes. I understand for 4 Years

  • Siraj Raval
    November 22, 2020

    I'm at 1:37 now. It already took me like 2 hours.

    That's gonna be the longest 4 minutes ever.

  • Siraj Raval
    November 22, 2020

    what is the python editor

  • Siraj Raval
    November 22, 2020

    Speed at 2x and u lern it

  • Siraj Raval
    November 22, 2020

    WTF?

  • Siraj Raval
    November 22, 2020

    What it's true DNN= ML +ANN ??๐Ÿค”

  • Siraj Raval
    November 22, 2020

    Dude thatโ€™s a brain reading game and app and software design engine right there, or at least the steppingstones towards that

  • Siraj Raval
    November 22, 2020

    Two things. Why did you import numpy as 'numpy' what'sthe point of it second, at nonlin function why did you (deriv==True) u can simply do deriv.

  • Siraj Raval
    November 22, 2020

    I've fixed typos, ported to Python 3 and you can run and test it here: https://colab.research.google.com/drive/1itMdAtSqZEIhgQ0IIP_fpoa-Wn7MuzWy
    And here's the gist: https://gist.github.com/Maxim-Mazurok/0d0b77150f9518c0652eaedd318edbc7
    Thank you, Siraj!

  • Siraj Raval
    November 22, 2020

    My pc is on what is next.

  • Siraj Raval
    November 22, 2020

    Okay so now I have an idea of what the code looks like compared to visual models. Time to think on this and then learn some more.

  • Siraj Raval
    November 22, 2020

    The code in the video does not work for me, however the code on the github does and is different to that in the video. Confused as to why.

  • Siraj Raval
    November 22, 2020

    yes building one in 4 minutes too bad you cant explain one in 4 minutes ๐Ÿ™

  • Siraj Raval
    November 22, 2020

    you didnt even tell us where to import it at in the beginning

  • Siraj Raval
    November 22, 2020

    Cool, how do I do it in a real language now?

  • Siraj Raval
    November 22, 2020

    can we get a copy paste of the code please thanks

  • Siraj Raval
    November 22, 2020

    ๐๐„ ๐‚๐€๐‘๐„๐…๐”๐‹!! ๐“๐ก๐ข๐ฌ ๐ ๐ฎ๐ฒ ๐ข๐ฌ ๐š ๐ฌ๐œ๐š๐ฆ๐ฆ๐ž๐ซ.

    ๐๐ซ๐จ๐จ๐Ÿ: https://www.reddit.com/r/MachineLearning/comments/dh2xfs/d_siraj_has_a_new_paper_the_neural_qubit_its/?utm_source=share&utm_medium=web2x

  • Siraj Raval
    November 22, 2020

    L1_error = l2_delta.dot(syn1, T) what is the T? Does it need importing ? If yes how do I import?

  • Siraj Raval
    November 22, 2020

    Great, very well illustrated example of a NN mirroring XOR gate… Thanks.

Write a comment