官术网_书友最值得收藏!

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 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.

主站蜘蛛池模板: 永新县| 邵东县| 水城县| 峨山| 大化| 洛南县| 自贡市| 肇源县| 石景山区| 南开区| 简阳市| 太仓市| 宣汉县| 山西省| 津市市| 长宁县| 清涧县| 广宗县| 兴国县| 长沙市| 营口市| 获嘉县| 玉溪市| 新疆| 平江县| 台南县| 新巴尔虎右旗| 普兰县| 天祝| 潞西市| 东丰县| 左云县| 芷江| 当阳市| 广州市| 万载县| 汤原县| 承德县| 遂宁市| 永定县| 满城县|