Click or drag to resize
Accord.NET (logo)

KernelFunctionCacheTKernel, TInput Constructor (TKernel, TInput, Int32)

Constructs a new KernelFunctionCache.

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

Parameters

kernel
Type: TKernel
The kernel function.
inputs
Type: TInput
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 an amount of memory, use GetNumberOfRowsForMaximumSizeInBytes(Int32).
See Also