PruningController - Overdrive77/BioSynapStudio-Public GitHub Wiki
Controls synaptic pruning based on STDP (Spike-Timing Dependent Plasticity) trace magnitude and overall emotional or hormonal conditions.
BioSynapStudio.Net.Modules.Plasiticity
BioSynapStudio.Net.dll
public class PruningController
Initializes the pruning controller with a threshold value below which synapses will be pruned.
- pruneThreshold: Minimum trace magnitude required to retain a synapse.
Scans each neuron's axon terminal and removes synapses with a TraceMagnitude
below the configured threshold.
- neurons: A collection of neurons whose synapses will be evaluated.
var pruningController = new PruningController(0.02);
pruningController.EvaluateAndPrune(neuralNetwork.Neurons);
- Works in conjunction with
TraceStdpPlasticity
by leveraging its pre- and post-trace values to determine whether a synapse has remained active enough to justify retention. - Designed to be invoked periodically, often under emotional or hormonal conditions such as fatigue, low dopamine, or calm states (e.g.,
EmotionType.Peace
). - Part of a biologically accurate structural plasticity pipeline that complements neurogenesis.
This software constitutes original intellectual property of the author, protected under international copyright and patent law. Patent: GB2506327.2 – Synthesized Emotional Cognition (SEC) DOI: 10.17605/OSF.IO/XERKF