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

Neuron is not defined #330

Open
Galaninho opened this issue Aug 3, 2018 · 2 comments
Open

Neuron is not defined #330

Galaninho opened this issue Aug 3, 2018 · 2 comments

Comments

@Galaninho
Copy link

Hi guys. I have a beginner problem. I set a network like that:
image
And then i try to change squashing function like that:
image
Or in a few other ways (i was trying different approaches), and the only resoult i can get is this:
image
"Neuron is not defined".
Can you please tell me how am i supposed to do this?
Greetings!

@ghost
Copy link

ghost commented Aug 4, 2018

Thats an import issue, check how your require Synaptic.js section and try to call things with synaptic.Layer (or so) and not just Layer as Node seems to have an issue to find the relevant code section within Synaptic.js.

@Galaninho
Copy link
Author

Thanks, solution was really simple, just needed to change this:
image
into this:
image
And then it works as it should by writing:
image

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

1 participant