|
IndependentTDistribution, TObservation, TOptionsFit Method (TObservation, Double, IndependentOptionsTOptions)
|
Fits the underlying distribution to a given set of observations.
Namespace:
Accord.Statistics.Distributions.Multivariate
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public void Fit(
TObservation[][] observations,
double[] weights = null,
IndependentOptions<TOptions> options = null
)
Public Sub Fit (
observations As TObservation()(),
Optional weights As Double() = Nothing,
Optional options As IndependentOptions(Of TOptions) = Nothing
)
Request Example
View SourceParameters
- observations
- Type: TObservation
The array of observations to fit the model against. The array
elements can be either of type double (for univariate data) or
type double[] (for multivariate data). - weights (Optional)
- Type: SystemDouble
The weight vector containing the weight for each of the samples. - options (Optional)
- Type: Accord.Statistics.Distributions.FittingIndependentOptionsTOptions
Optional arguments which may be used during fitting, such
as regularization constants and additional parameters.
Implements
IFittableTObservations, TOptionsFit(TObservations, Double, TOptions)Examples
For an example on how to fit an independent joint distribution, please
take a look at the examples section for
IndependentTDistribution.
See Also