4 ms·
I'm confused by several of the API choices in the example. Why is the training set part of the network? I would have expected it to be a parameter to the train(
by yorwba 9y ago
I'm confused by several of the API choices in the example. Why is the training set part of the network? I would have expected it to be a parameter to the train() function. Same for the activation function, shouldn't this be a property of the layer rather than fixed for the network as a whole?
I get that this is just in the early stages and more for learning than anything else, but it doesn't seem very well thought-out IMO.
- afshinmeh 9y agoThanks for your suggestions, yorwba. I do see what you mean about the API and I will work on this. For now, if you want to train a model, you need to pass data to the NN struct not train method but as you mentioned, probably it is better to pass it to the train method. Sorry for the confusion and thanks for your comment!