Changelog History
Page 1
-
v2.4.1.c Changes
๐ See release
๐ Fixes
๐ป
Dann.prototype.toFunction
es6 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.toLocaleLowerCase
which allows for mixed cases and backwards compatibility. Feature implemented by @and1can through issue #44โ Removed
Dann.prototype.losses
since it was used to store loss values if thesaveLoss
option 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 withsaveLoss
ticked to true. -
v2.4.0 Changes
๐ See release
๐ Changes
- โ Added
asLabel
option forfeedForward
andfeed
.js 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.
- โ Added
-
v2.3.14 Changes
๐ See release
๐ Changes
- ๐ฒ Cleaner
Dann.prototype.log
,Dann.prototype.feedForward
,Dann.prototype.backpropagate
methods. - โ Added a validity check system to work with the error handling.
- โช Restored logo in manual browser tests
- โ Added a static
Dann.print
method to print either as a log or table. Instead of usingconsole.log
&console.table
in if statements.
- ๐ฒ Cleaner
-
v2.3.13 Changes
๐ See release
๐ Changes
- โ Removed duplicate function
fromJSON
- โ Added social icons in readme
- โ Removed duplicate function
-
v2.3.11 Changes
๐ See release
๐ 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 Changes
๐ See release
๐ Changes
- โ Added quantile loss function & support for a percentile value. ๐ Here is documentation about loss functions, including quantile loss
Dev changes
- ๐ Fixed missing
sig
task - โ Added unit tests for quantile loss & percentile value.
-
v2.2.10 Changes
๐ See release
๐ Changes
- โ Added
makeXOR
method which allows for the creation ofX
inputs XOR datasets - โ Added
Dann.prototype.feed
alias forDann.prototype.feedForward
- โ Added
Dann.prototype.train
alias forDann.prototype.backpropagate
Dev changes
- ๐ Fixed dev dependencies
- โ Added