MCPcopy Create free account
hub / github.com/DFin/Neural-Network-Visualisation / updateNetworkWeights

Method updateNetworkWeights

assets/main.js:2696–2707  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2694 }
2695
2696 updateNetworkWeights() {
2697 this.disposeConnectionMeshes();
2698 this.buildConnections();
2699 if (this.selectedNeuron) {
2700 this.updateConnectionVisibility();
2701 this.selectionConnectionData = null;
2702 this.buildSelectionConnectionMeshes();
2703 if (this.lastDisplayActivations && this.lastNetworkActivations) {
2704 this.updateSelectionVisuals();
2705 }
2706 }
2707 }
2708
2709 setMaxConnectionsPerNeuron(limit) {
2710 const clamped = Math.max(1, Math.floor(limit));

Callers 4

setConnectionRadiusMethod · 0.95
onSnapshotChangeFunction · 0.80

Tested by

no test coverage detected