Electron microscopy
 
Geometric Margin versus Functional Margin
- Python and Machine Learning for Integrated Circuits -
- An Online Book -
Python and Machine Learning for Integrated Circuits                                                           http://www.globalsino.com/ICs/        


Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix

=================================================================================

Table 3812. Geometric margin versus functional margin.

  Geometric Margin Functional Margin
Definition The geometric margin is the distance between the decision boundary (the hyperplane) and the nearest data point. The functional margin is a different concept in SVM, representing the signed distance of a data point to the decision boundary.
Symbol σ γ
Formula σ = 1 / ||w|| γ = y(w^T x + b)
  • "x" is the feature vector of the data point.
  • "w" is the weight vector of the hyperplane.
  • "b" is the bias term (intercept) of the hyperplane.
  • "y" is the class label of the data point (+1 or -1 for binary classification).

Figure 3812 shows the functional margin and geometric margin in two datasets.

Functional Margin in SVM

(a)

Functional Margin in SVM

(b)

Figure 3812. Functional margin (the solid lines) and geometric margin (the GM spots) in two datasets: (a) Dataset A and (b) Dataset B. Code

============================================

         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         

 

 

 

 

 



















































 

 

 

 

 

=================================================================================