public void UpdateWeights(IWeightUpdater weightUpdater) { foreach (BetaSimilarity[] betaSimilarities in _oldSimilarities) { foreach (BetaSimilarity betaSimilarity in betaSimilarities) { weightUpdater.UpdateWeight(betaSimilarity.BetaSimilarityMeasure); } } weightUpdater.UpdateWeight(Data); }
public void UpdateWeights(IWeightUpdater weightUpdater) { weightUpdater.UpdateWeight(_hiddenToOutputLayerWeights); weightUpdater.UpdateWeight(_hiddenToHeadsWeights); }
public void UpdateWeights(IWeightUpdater weightUpdater) { weightUpdater.UpdateWeight(_readDataToHiddenLayerWeights); weightUpdater.UpdateWeight(_inputToHiddenLayerWeights); weightUpdater.UpdateWeight(_hiddenLayerThresholds); }