IBayesianStrategy<T, TInput, TOutput>

Interfaces · AiDotNet.ActiveLearning.Interfaces

Interface for Bayesian query strategies (e.g., BALD).

Implements: IQueryStrategy<T, TInput, TOutput>

Known implementations: BALDStrategy<T, TInput, TOutput>

Properties

Property Summary
int MonteCarloSamples { get; } Gets the number of Monte Carlo samples for uncertainty estimation.

Methods

Method Summary
T ComputeMutualInformation(IFullModel<T, TInput, TOutput> model, TInput input) Computes the mutual information between predictions and model parameters.
T ComputePredictiveEntropy(IFullModel<T, TInput, TOutput> model, TInput input) Computes the predictive entropy for a sample.