|
KernelFunctionCacheGetNumberOfRowsForMaximumSizeInMegaBytes Method
|
Gets the maximum number of rows that a cache can keep inside the given amount of bytes.
This value can be used to initialize SequentialMinimalOptimization's CacheSize property,
or be passed to
KernelFunctionCache constructor.
Namespace:
Accord.Statistics.Kernels
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public static int GetNumberOfRowsForMaximumSizeInMegaBytes(
double megaBytes
)
Public Shared Function GetNumberOfRowsForMaximumSizeInMegaBytes (
megaBytes As Double
) As Integer
Request Example
View SourceParameters
- megaBytes
- Type: SystemDouble
Return Value
Type:
Int32See Also