Class SupportVectorMachineEx2

java.lang.Object
com.imsl.test.example.datamining.supportvectormachine.SupportVectorMachineEx2

public class SupportVectorMachineEx2 extends Object

Classifies Fisher's iris data after first selecting parameter values using cross-validation.

This example uses stratified cross-validation to select parameter settings for C and \(\gamma\) using the minimum CV error criterion. Then, a SVClassification model is configured with these "best" settings and fitted to the training sample. The classification errors on the entire dataset are shown. Compare these errors with those given in SupportVectorMachineEx1, where default values were used.

See Also:
  • Constructor Details

    • SupportVectorMachineEx2

      public SupportVectorMachineEx2()
  • Method Details