BaseSupportVectorClassificationTModel, TKernel, TInputComplexity Property |
Namespace: Accord.MachineLearning.VectorMachines.Learning
The cost parameter C controls the trade off between allowing training errors and forcing rigid margins. It creates a soft margin that permits some misclassifications. Increasing the value of C increases the cost of misclassifying points and forces the creation of a more accurate model that may not generalize well.
If this value is not set and UseComplexityHeuristic is set to true, the framework will automatically guess a suitable value for C by calling EstimateComplexityTKernel, TInput(TKernel, TInput). If this value is manually set to something else, then the class will respect the new value and automatically disable UseComplexityHeuristic.