Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

neural_network_tutorials.ipynb #1

Open
Myrkiriad-coder opened this issue May 24, 2023 · 1 comment
Open

neural_network_tutorials.ipynb #1

Myrkiriad-coder opened this issue May 24, 2023 · 1 comment

Comments

@Myrkiriad-coder
Copy link

Myrkiriad-coder commented May 24, 2023

Hello,

Big fan of your videos, I decided to look into your code this time !

In neural_network_tutorials.ipynb, 4/ Deep Neural Networks (Numpy).

If I change ys = xs**2, for anything else (ys = xs**3, ys = xs**4, ys = np.sin(xs), ys = np.abs(xs) etc....), there is no fit.
Any reason for that ?

@hunar4321
Copy link
Owner

hunar4321 commented May 26, 2023

Yes, that is expected
Every time you change the order of your equation, you must also change the parameters too. Reduce the learning rate if your error plot is noisy. You can also tweak the number of the nodes, iterations, ...etc.
Just like what I did here: https://youtu.be/l-CjXFmcVzY?t=872

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants