matiasvlevi / Dann

Deep Neural Network Library for JavaScript.
https://dannjs.org
MIT License
425 stars 23 forks source link

[🔷 Feature request ]: Aliases for feedForward & backpropagate #26

Closed matiasvlevi closed 3 years ago

matiasvlevi commented 3 years ago

Feature

We could have aliases for the feedForward & backpropagate methods of the Dann class.

Type

Description

These aliases would be to make method names a little more uniform when we add in the Rann class for RNNs as feedForward & backpropagate would not be the most accurate terms for RNNs. See the issue on RNNs here.

Feedforward

Is located in src/classes/dann/methods/feedForward.js

backpropagate

Is located in src/classes/dann/methods/backpropagate.js

Examples

These would be the aliases Dann.prototype.backpropagate to Dann.prototype.train Dann.prototype.feedForward to Dann.prototype.feed

Note

It is important to note that we do not want to remove backpropagate & feedForward names, I think having machine learning terms for methods helps to get a grasp at what the neural network is doing since you can look up the terms.

SharkAce commented 3 years ago

I'm on it man

matiasvlevi commented 3 years ago

Just merged your fork! Thanks!