Click or drag to resize
Accord.NET (logo)

MultivariateEmpiricalDistribution Constructor (IDensityKernel, Double, Double)

Creates a new Empirical Distribution from the data samples.

Namespace:  Accord.Statistics.Distributions.Multivariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public MultivariateEmpiricalDistribution(
	IDensityKernel kernel,
	double[][] samples,
	double[] weights
)
Request Example View Source

Parameters

kernel
Type: Accord.Statistics.Distributions.DensityKernelsIDensityKernel
The kernel density function to use. Default is to use the GaussianKernel.
samples
Type: SystemDouble
The data samples forming the distribution.
weights
Type: SystemDouble
The fractional weights to use for the samples. The weights must sum up to one.
See Also