Releases: matiasvlevi/Dann
v2.4.1e
v2.4.1c
Fixes
-
Dann.prototype.toFunctiones6 activation functions fixes for browser & node, pointed out by #48. -
Activation functions names are now all lowercase, and activation names specified by the user are passed through
name.toLocaleLowerCasewhich allows for mixed cases and backwards compatibility. Feature implemented by @and1can through issue #44 -
Removed
Dann.prototype.lossessince it was used to store loss values if thesaveLossoption was set to true when callingDann.prototype.backpropagate. This feature did not need to be built in the library, the prefered way to achieve something like this would be:
let savedLosses = [];
for (...) {
nn.backpropagate(input, output);
savedLosses.push(nn.loss);
}This allows more control on when to save a loss, as opposed to always have to save a loss value when Dann.prototype.backpropagate is called with saveLoss ticked to true.
v2.4.0
Changes
- Added
asLabeloption forfeedForwardandfeed.
nn.feed([1, 1]) // Outputs an array
nn.feed([1, 1], { asLabel: true }) // Outputs the index of the largest output value- Changed exports, Classes are now capitalized, old uncapitalized names are still available for old code support.
v2.3.14
Changes
- Cleaner
Dann.prototype.log,Dann.prototype.feedForward,Dann.prototype.backpropagatemethods. - Added a validity check system to work with the error handling.
- Restored logo in manual browser tests
- Added a static
Dann.printmethod to print either as a log or table. Instead of usingconsole.log&console.tablein if statements.
v2.3.13
Changes
- Removed duplicate function
fromJSON - Added social icons in readme
v2.3.12
Bug fix
- Fixed
Dann.prototype.lognullvalues
Dropout Update
Changes
- Options now use less conditionals
- Added a new dropout option, which allows you to set a value in between 0 and 1 to determine the chance of a neuron being idle during a backward pass.
Here is an example with 10% chance a neuron becomes inactive
nn.backpropagate([your_inputs],[your_outputs],{ dropout : 0.1 });Dropout
v2.2.11
v2.2.10
Changes
- Added
makeXORmethod which allows for the creation ofXinputs XOR datasets - Added
Dann.prototype.feedalias forDann.prototype.feedForward - Added
Dann.prototype.trainalias forDann.prototype.backpropagate
Dev changes
- Fixed dev dependencies
