|
MetropolisHastingTObservation, TProposalDistributionInitialize Method (Int32, FuncTObservation, Double, TProposalDistribution)
|
Initializes the algorithm.
Namespace:
Accord.Statistics.Distributions.Sampling
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax protected void Initialize(
int dimensions,
Func<TObservation[], double> logDensity,
TProposalDistribution proposal
)
Protected Sub Initialize (
dimensions As Integer,
logDensity As Func(Of TObservation(), Double),
proposal As TProposalDistribution
)
Request Example
View SourceParameters
- dimensions
- Type: SystemInt32
- logDensity
- Type: SystemFuncTObservation, Double
- proposal
- Type: TProposalDistribution
See Also