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
Yes there is! Well... indirectly though. The good ol' toJSON() allows this.
var network = new synaptic.Architect.Perceptron(2,2,1);
var networkJSON = network.toJSON();
networkJSON.connections.splice(index,1); // e.g. this is how to remove a certain connection
networkJSON.neurons.splice(index,1); // e.g. this is how to remove a certain neuron
network = synaptic.Network.fromJSON(networkJSON); // convert it back
You can even manually remove them by JSON.stringify() and then just deleting one of the elements in the neurons or connections array.
Does Synaptic support removal/disconnection of neurons after training?
If not, is there any way to implement dropout?
The text was updated successfully, but these errors were encountered: