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

tutorial problem #31

Closed
momire opened this issue Jun 21, 2017 · 1 comment
Closed

tutorial problem #31

momire opened this issue Jun 21, 2017 · 1 comment

Comments

@momire
Copy link

momire commented Jun 21, 2017

Hello. I am a beginner who is touched by the convenience of neataptic. :)

In the Training, Evolution section of the tutorial,

yourNetwork.train(yourData, yourOptions);
YourNetwork.evolve (yourData, yourOptions);

It says that the default values are preset, but the tutorial does not explained how to use the default values.

yourNetwork.train(yourData, {});
YourNetwork.evolve (yourData, {});

I've found that this is not a problem when I write this code. It can be quite confusing for beginners like me. (I honestly do not know it's right or wrong to write code like this.) but I have not seen a library that is kind enough for beginners as much as this library.

wagenaartje added a commit that referenced this issue Jun 21, 2017
@wagenaartje
Copy link
Owner

Hi! Thanks for checking out Neataptic. I have changed the training and evolution tutorials. Let me know if you think anything is missing/wrong!

Along with a few other things, I have added:

If you want to use the default options, you can either pass an empty object or
just dismiss the whole second argument:

myNetwork.evolve(trainingSet, {});
// or
myNetwork.evolve(trainingSet);

The default value will be used for any option that is not explicitly provided
in the options object.

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