|
KernelEstimateComplexity Method (Double, Int32)
|
Estimates the complexity parameter C, present in many SVM algorithms,
for a given kernel and an unbalanced data set by summing every element
on the diagonal of the kernel matrix and using an heuristic based on it.
Namespace:
Accord.Statistics.Kernels
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public static Tuple<double, double> EstimateComplexity(
double[][] inputs,
int[] outputs
)
Public Shared Function EstimateComplexity (
inputs As Double()(),
outputs As Integer()
) As Tuple(Of Double, Double)
Request Example
View SourceParameters
- inputs
- Type: SystemDouble
The input samples. - outputs
- Type: SystemInt32
The output samples.
Return Value
Type:
TupleDouble,
DoubleA suitable value for positive C and negative C, respectively.
See Also