Support Vectors Example

Support Vectors Example

Problem Statement

Use the SVM Analysis Models to predict the values for gear based on the other variables.

How to perform analysis

Step 1: Open Sigma Magic
  1. Click on the Sigma Magic button on the Excel toolbar.
  2. Click on the New button to create a new project.
Step 2: Add the analysis template
  1. Click on the Tool Wizard to add the analysis template.
  2. Click on Analytics and then Support Vectors.

Step 3: Specify analysis options
A new worksheet will be added to your workbook. Analysis Setup will be automatically openedin the setup tab specify the survey results.


Click on Data to specify the data required for this analysis. 

 

Click on the Train the software will let you pick the options for training the given model. Training is a step where we split the data into groups a train data set and a test data set.


Click on the Tuning to identifying the best set of hyperparameters that gives the best fit for the given model.


Click the Verify tab to ensure all the inputs are okay and shown in a green checkmark. 


Step 4: Generate analysis result
Click OK and then click Compute Outputs to get the final results.


Interpretation of Results

  • The SVM model achieved an accuracy of 89.65%, indicating a strong predictive performance.
  • The performance metric suggests that the model is effective in classifying the given data.
  • The hyperparameter tuning graph shows that the cost parameter affects accuracy.
  • The best-performing model used cost = 0.25 and L2 loss for regularization.
  • The Variable Importance Plot highlights the most influential features in the model.
  • Certain features like ‘gear’ and ‘disp’ seem to have higher importance in classification.
  • The model was trained on 23 samples with 29 rows, out of which 6 had missing values.
  • The response variable was ‘gear’, and the model considered multiple predictors.
  • The model employed an L2 Regularized Support Vector Machine with a Linear Kernel.
  • This regularization method helps control overfitting by penalizing large coefficients.
  • The final model was chosen based on the highest accuracy during tuning.
  • The selected parameters were cost = 0.25 and L2 loss, ensuring a balance between bias and variance.
    • Related Articles

    • Support Vectors Overview

      Support vectors are key elements in Supprot Vector Machines, a popular supervised learning algorithm used for classification and regression tasks. Support vectors are data points that lie closest to the decision boundary (hyperplane) and play a ...
    • Support vectors frequently asked questions

      What are Support Vectors? Support vectors are data points that lie closest to the decision boundary in a Support Vector Machine (SVM) model. They play a crucial role in defining the margin and optimizing classification accuracy. In Sigma Magic, ...
    • Spaghetti Example

      Problem Statement Select a process and map out the Spaghetti diagram for that process. Calculate the total distance travelled and total cost. # Motion 1 Warehouse (W) to Desk (A) 2 Desk (A) to Desk (B) 3 Desk (B) to Warehouse (W) 4 Warehouse (W) to ...
    • VSM Example

      Problem Statement Create a VSM for the sub-assembly process with the following details given in the attachment. How to perform analysis Step 1: Open Sigma Magic Click on the Sigma Magic button on the Excel toolbar. Click on the New button to create a ...
    • FMEA Example

      Problem Statement Create an FMEA analysis for implementation of SPC charts in a work area. Some example of potential failures are shown below. However, you will need to brainstorm with your team and fill in the missing information. Typical Failure ...