- Mastering Machine Learning for Penetration Testing
- Chiheb Chebbi
- 254字
- 2021-06-25 21:03:02
Support vector machines
A support vector machine (SVM) is a supervised machine learning model that works by identifying a hyperplane between represented data. The data can be represented in a multidimensional space. Thus, SVMs are widely used in classification models. In an SVM, the hyperplane that best separates the different classes will be used. In some cases, when we have different hyperplanes that separate different classes, identification of the correct one will be performed thanks to something called a margin, or a gap. The margin is the nearest distance between the hyperplanes and the data positions. You can take a look at the following representation to check for the margin:

The hyperplane with the highest gap will be selected. If we choose the hyperplane with the shortest margin, we might face misclassification problems later. Don't be distracted by the previous graph; the hyperplane will not always be linear. Consider a case like the following:

In the preceding situation, we can add a new axis, called the z axis, and apply a transformation using a kernel trick called a kernel function, where z=x^2+y^2. If you apply the transformation, the new graph will be as follows:

Now, we can identify the right hyperplane. The transformation is called a kernel. In the real world, finding a hyperplane is very hard. Thus, two important parameters, called regularization and gamma, play a huge role in the determination of the right hyperplane, and in every SVM classifier to obtain better accuracy in nonlinear hyperplane situations.
- Cisco OSPF命令與配置手冊
- 智能網聯汽車V2X與智能網聯設施I2X
- 重新定義Spring Cloud實戰
- 物聯網+BIM:構建數字孿生的未來
- Hands-On Full Stack Development with Spring Boot 2 and React(Second Edition)
- Practical Web Design
- 區塊鏈輕松上手:原理、源碼、搭建與應用
- Learning Swift(Second Edition)
- 4G小基站系統原理、組網及應用
- Master Apache JMeter:From Load Testing to DevOps
- 6G無線網絡空口關鍵技術
- 互聯網安全的40個智慧洞見(2016)
- 網絡安全之道
- 圖解物聯網
- 物聯網M2M開發技術:基于無線CPU-Q26XX