BayesianNeuralNetworkOptions
Options & Configuration · AiDotNet.UncertaintyQuantification.BayesianNeuralNetworks
Configuration options for BayesianNeuralNetwork.
Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → BayesianNeuralNetworkOptions
How It Works
Introduced by issue #2090: the sample count was a constructor parameter, so the model advertised no configuration surface and the value could not be set through an options object.
Constructors
| Constructor | Summary |
|---|---|
BayesianNeuralNetworkOptions() |
Properties
| Property | Summary |
|---|---|
int NumSamples { get; set; } |
Gets or sets how many forward passes are averaged to estimate a prediction and its uncertainty. |
Methods
| Method | Summary |
|---|---|
void Validate() |
Throws when a value on this instance cannot produce a working model. |