Click or drag to resize
Accord.NET (logo)

SmoothingRule Delegate

Smoothing rule function definition for Empirical distributions.

Namespace:  Accord.Statistics.Distributions.Fitting
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public delegate double SmoothingRule(
	double[] observations,
	double[] weights = null,
	int[] repeats = null
)

Parameters

observations
Type: SystemDouble
The observations for the empirical distribution.
weights (Optional)
Type: SystemDouble
The fractional importance for each sample. Those values must sum up to one.
repeats (Optional)
Type: SystemInt32
The number of times each sample should be repeated.

Return Value

Type: Double
An estimative of the smoothing parameter.
See Also