Giter Site home page Giter Site logo

how_to_do_math_for_deep_learning's Issues

Error in forward prop

In line 28, what is written is:
k0 = X

It should be:
k0 = nonlin(X)

this is so that the weights are effected by the output of the node and not the input, and would also be consistent with the k1 and k2 values used.

Syntax Error in demo.ipynb

When I run the Jupiter notebook, line 14 will not display unless the variable is in parentheses. Anyone else encountering this?

Syntax error in python3.

anyone knows what's the exact problem here?
it's giving me a syntax error in python3

-----k2_delta = k2_error * nonlin(k2,deriv=True)
------------^
SyntaxError: invalid syntax

Can you explain the last two lines where the gradients are being updated?

syn1 += k1.T.dot(k2_delta) syn0 += k0.T.dot(k1_delta)
Could you explain a little more in depth the thought process behind these lines? Came here from the video and still confused. How does k1.dot k2_delta create the amount to update the weight? I understand the gradient is the direction we need to travel but wouldn't we just subtract that distance from the weight? Why do we need to dot product?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.