


Understand the concepts of functional distance and geometric distance in support vector machines
How to understand the functional distance and geometric distance in support vector machine
SVM divides samples into two categories through hyperplanes.
When the hyperplane is determined, the distance of a point from the hyperplane can be expressed relatively. For a two-class classification problem, if the point is on the positive side of the hyperplane, it is judged as 1; otherwise, it is judged as -1.
If the classification result is considered correct, it is correct; otherwise, it is wrong. Moreover, the larger the value, the higher the confidence of the classification result. vice versa.
So the functional interval between the sample point and the hyperplane is defined as
However, there is a problem with this definition: when we shrink or enlarge the hyperplane M times at the same time, the function interval changes. To solve this problem, we need to fix the size of the hyperplane, i.e., so that the function margin remains constant. In this way, we can get the geometric interval.
The geometric interval is defined as follows
In fact, the geometric interval is the distance from the point to the hyperplane. Imagine the distance formula from a point to a straight line learned in middle school
In multi-dimensional space, the geometric interval refers to the distance from the point to the hyperplane. Functional distance is the numerator in the unnormalized distance formula.
Define the minimum geometric distance from the training set to the hyperplane is
The method of SVM training classifier is to find the hyperplane so that the positive and negative samples are on both sides of the hyperplane, and the geometric distance between the sample and the hyperplane is the largest.
So SVM can be expressed as solving the following optimization problem
The above content is explained in detail in "Statistical Learning Methods".
What is the unit of distance in drawing geometry
How to learn drawing geometry: 1. Pay attention to the analysis of spatial geometric relationships and the correspondence between spatial geometric prototypes and plane graphics. This process of repeated research and thinking of "from space to plane, and then from plane to space" is the most basic and most effective learning method in this course.
Some beginners ignore the analysis of spatial geometric relationships and the correspondence between spatial geometric prototypes and plane patterns, and just try to use some conclusions in books to solve problems. There are also some beginners who only pay attention to the spatial geometric relationships, and put aside the projection rules that have been summarized in books. Whenever they solve a specific problem, they use their own models to compare the spatial conditions to directly obtain the answer. This kind of theory that is divorced from reality and ignores theoretical learning methods will bring difficulties to learning.
2. According to the nature of the course, this course is a basic technical course, and the practice of drawing and viewing pictures is very important. To this end, in the learning process: ① Focus on studying various illustrations. When reviewing, you should not just stop at reading. Instead, you should describe the drawing process of the illustrations on paper while reading. In this way, not only will it be easy to understand the content of the textbook, but you will also be able to truly grasp the principles of projection and its specific applications. ② Make systematic summaries frequently. For each chapter learned, a certain number of exercises must be completed to consolidate it. ③ Consciously cultivate a serious, meticulous and patient work style, and develop the habit of accurate drawing and neat drawings.
3. Drawing geometry and engineering drawings are closely related. Drawing geometry provides basic principles and methods for using two-dimensional graphics to express parts and related diagramming methods in engineering drawings. In line with the principle of integrating theory with practice, attention should be paid to the connection and cooperation between drawing geometry and engineering drawings during study.
In the 21st century, computer technology has penetrated into all areas of human society. The development of computer-aided design (CAD) and computer graphics (CG) technology has successfully solved many problems of drawing geometric diagrams and illustrations. Compared with the traditional painting-based geometric problem-solving method, the purpose of the two is the same, but the means (the use of tools) are different. As a tool in the hands of humans, computers have an absolute advantage in work efficiency and accuracy. Traditional drawing geometry theory and computer graphics theory together form the graphics foundation of CAD and CG technology. From the perspective of tool use, it is more necessary to master the basic theory of drawing geometry.
The above is the detailed content of Understand the concepts of functional distance and geometric distance in support vector machines. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











Have you ever encountered a black screen after installing a graphics driver like an Nvidia driver in Windows 10/11? Now in this post from php.cn, you can find a couple of worth trying solutions to the Nvidia driver update black screen.

Windows X-Lite Optimum 11 23H2 Home or Optimum 11 Pro could be your option if you need a custom lite system based on Windows 11 23H2. Go on reading and php.cn will show you how to download Optimum 11 23H2 ISO and install Pro or Home on your PC.

If you suspect your hard drive encounters issues, you can check the drive for errors on Windows 7. This php.cn post talks about fixdisk Windows 7. You can follow the guide to check the hard drive for errors on Windows 7.

Many SurfaceBook users report that they meet the “core isolation blocked by ew_usbccgpfilter.sys” issue on Windows 11/10. This post from php.cn helps to fix the annoying issue. Keep on your reading.

Want to know the new improvements and bug fixes in Windows 11 KB5034204? Want to how to get Windows 11 KB5034204 on your device? In this post, php.cn Software will introduce the information you want to know.

Tips and Suggestions Notifications is a new design of Windows 11. It will give you suggestions and tips on some new features. But some of you may be bothered by the popup tips. You can read this post from php.cn to learn how to turn off tips and sugg

You must be familiar with the Windows P shortcut if you have more than one monitor. However, the Windows P not working properly might happen occasionally. If you are facing this problem, this post from php.cn can help you indeed.

Data recovery is always a heated topic. To successfully restore data from your device, you should know how it stores data. You can learn the difference between RAID recovery and hard drive recovery from this php.cn post.
