Click or drag to resize
Accord.NET (logo)

KernelFunctionCache Constructor (IKernel, Double, Int32)

Constructs a new KernelFunctionCache.

Namespace:  Accord.Statistics.Kernels
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public KernelFunctionCache(
	IKernel kernel,
	double[][] inputs,
	int cacheSize
)
Request Example View Source

Parameters

kernel
Type: Accord.Statistics.KernelsIKernel
The kernel function.
inputs
Type: SystemDouble
The inputs values.
cacheSize
Type: SystemInt32
The size for the cache, measured in number of rows from the inputs set. Default is to use all rows. In order to know how many rows can fit under a amount of memory, use GetNumberOfRowsForMaximumSizeInBytes(Int32).
See Also