search
HomeComputer TutorialsComputer KnowledgeUnderstand 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

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
This article is reproduced at:Excel办公网. If there is any infringement, please contact admin@php.cn delete
Windows 11 Education Download ISO and Install It on PC - MiniToolWindows 11 Education Download ISO and Install It on PC - MiniToolApr 26, 2025 am 12:50 AM

What is Windows 11 Education? If you want to install this system on your PC, how can you do this work? This post from php.cn gives a detailed guide on Windows 11 Education download ISO and how to install it from the ISO file.

How to Fix Outlook Emails Not Showing Up in Inbox - MiniToolHow to Fix Outlook Emails Not Showing Up in Inbox - MiniToolApr 26, 2025 am 12:49 AM

Are your Outlook emails not showing up in Inbox, but showing in search? What steps can you do when Outlook not showing all emails? Now in this post given by php.cn Solution, we will introduce several useful methods to help you address the issue and g

Must-Know Fixes: Windows Stuck on Shutting Down ScreenMust-Know Fixes: Windows Stuck on Shutting Down ScreenApr 26, 2025 am 12:48 AM

If you are trying to power off your computer but encountering the Windows stuck on shutting down screen issue, you can find several helpful fixes from this php.cn guide. Just keep reading to see the details.

[Complete Guide] How to Fix Microsoft Teams Error CAA50021? - MiniTool[Complete Guide] How to Fix Microsoft Teams Error CAA50021? - MiniToolApr 26, 2025 am 12:47 AM

If you are looking for effective solutions to the Microsoft Teams error code CAA50021, this post is worth reading. In this post, php.cn introduces how to get rid of this error in detail. Simply follow it to solve your problem.

Make Windows 11/10 Look Like Windows XP Using WindowBlinds 11 - MiniToolMake Windows 11/10 Look Like Windows XP Using WindowBlinds 11 - MiniToolApr 26, 2025 am 12:46 AM

Do you want to make Windows 11 or Windows 10 look like Windows XP? Do you know how to do this on your device? You can try the WindowBlinds 11 Beta version now. In this post, php.cn Software will tell you how to download WindowBlinds 11 and introduce

Pro Fixes: Not All of the Updates Were Successfully UninstalledPro Fixes: Not All of the Updates Were Successfully UninstalledApr 26, 2025 am 12:45 AM

If you can’t use the universal way to uninstall Windows updates due to An error has occurred, Not all of the updates were successfully uninstalled, you can try the methods mentioned in the php.cn post to solve the issue.

Fix the System Error – Wacom_tablet.exe Can't End Process - MiniToolFix the System Error – Wacom_tablet.exe Can't End Process - MiniToolApr 26, 2025 am 12:44 AM

What is wacom_tablet.exe? Is the Windows process safe to run? Some people find wacom_tablet.exe can't end process and when this Windows system error happens, you may be overwhelmed and don’t know where to start. On php.cn, this article will resolve y

3 Ways for We've Detected Suspicious Behavior on ChatGPT - MiniTool3 Ways for We've Detected Suspicious Behavior on ChatGPT - MiniToolApr 26, 2025 am 12:43 AM

ChatGPT errors are various and we’ve detected suspicious behavior is a common one. If you are trapped in this issue, what should you do? Go on reading this post from php.cn and you can find some useful fixes to help you get rid of trouble.

See all articles

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

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools