You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 6, 2025. It is now read-only.
Takes a string of the activation function's name. If this function is not called, the activation function will be set to 'sigmoid' by default. See available activation functions Here.
Example
constnn=newDann(4,2);nn.addHiddenLayer(8,'sigmoid');nn.makeWeights();console.log('Before changing the output activation');nn.log({struct:true})nn.outputActivation('tanH');console.log('After changing the output activation');nn.log({struct:true})