Package ai.badmonkey.agentspaces.capabilities.learn
package ai.badmonkey.agentspaces.capabilities.learn
-
ClassDescriptionThe typed
aspace:cap/gossip-learncapability (spec §8): decentralized model improvement over anyMergeableModel.Builder forGossipLearner.One node's evaluation of one model at the end of an epoch; a metrics-space entry whose authenticated issuer is the evaluating node.Theaspace:cap/gossip-learncapability (spec §8) for parameter-vector models:GossipLearnerspecialised todouble[]underWeightAveraging, so every exchange is a pairwise mean and the fleet's models converge to the fleet mean without any parameter server.The mergeable-model SPI ofaspace:cap/gossip-learn(spec §8): how two peers' models combine on encounter and how a model travels the wire.The defaultMergeableModel: adouble[]parameter vector whose merge is the element-wise mean, so a fleet of models converges to the fleet mean and every exchange conserves the fleet sum.