rachnog / neural-networks-for-differential-equations Goto Github PK
View Code? Open in Web Editor NEWUNIVR PDE course project and just for fun
UNIVR PDE course project and just for fun
def d_neural_network_dx(W, x, k=1):
return np.dot(np.dot(W[1].T, W[0].T**k), sigmoid_grad(x))
I believe that the derivative ought to be
return np.dot(np.multiply(W[1], W[0].T), sigmoid_grad(np.dot(x, W[0]) )
to remain consistent with chain rule,
Though, I am intrigued that you were able to get the same amount of convergence in spite of this.
def d_neural_network_dx(W2, x):
return np.dot(np.dot(W2[1].T, W2[0].T), sigmoid_grad(x)
They come from (5) in the paper “Arti ial Neural Networks for Solving Ordinary and Partial Di erential Equations”. While I think it is not right since it sigma(z) not sigma(x)? But it’s amazing that the results is right.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.