VectorParameterSource<T>

Models & Types · AiDotNet.ReinforcementLearning.Parameters

Exposes a plain Vector of learned values – a bandit’s action preferences, for instance – as a parameter source.

Implements: IParameterSource<T>

Constructors

Constructor Summary
VectorParameterSource(Func<Vector<T>> accessor) Wraps whatever vector accessor currently returns.

Properties

Property Summary
long ParameterCount { get; }

Methods

Method Summary
Vector<T> GetParameters()
void SetParameters(Vector<T> parameters)