Home Computer Tutorials Computer Knowledge Understand the concepts of functional distance and geometric distance in support vector machines

Understand the concepts of functional distance and geometric distance in support vector machines

Jan 17, 2024 pm 01:09 PM
What is distance in geometry

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!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1657
14
PHP Tutorial
1257
29
C# Tutorial
1230
24
Effortles Fixes for Black Screen After Installing a Graphics Driver Effortles Fixes for Black Screen After Installing a Graphics Driver Apr 15, 2025 am 12:11 AM

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.

How to Install Windows X-Lite Optimum 11 23H2 Home/Pro via ISO How to Install Windows X-Lite Optimum 11 23H2 Home/Pro via ISO Apr 09, 2025 am 12:49 AM

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.

Fixdisk Windows 7: Check Your Hard Disk for Errors on Windows 7 Fixdisk Windows 7: Check Your Hard Disk for Errors on Windows 7 Apr 14, 2025 am 12:40 AM

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.

Is Core Isolation Blocked by ew_usbccgpfilter.sys? Here Are Fixes! Is Core Isolation Blocked by ew_usbccgpfilter.sys? Here Are Fixes! Apr 13, 2025 am 12:47 AM

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.

Win 11 Builds 22621.3078 and 22631.3078 (KB5034204) Released Win 11 Builds 22621.3078 and 22631.3078 (KB5034204) Released Apr 05, 2025 am 01:35 AM

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.

How to Turn Off Tips and Suggestions Notifications in Windows? How to Turn Off Tips and Suggestions Notifications in Windows? Apr 09, 2025 am 12:46 AM

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

Advanced Tips for Windows   P Not Working on Windows Advanced Tips for Windows P Not Working on Windows Apr 11, 2025 am 12:49 AM

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.

Difference Between RAID Recovery and Hard Drive Recovery Difference Between RAID Recovery and Hard Drive Recovery Apr 17, 2025 am 12:50 AM

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.

See all articles