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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Two Point Museum: All Exhibits And Where To Find Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

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)

How to Solve Windows Error Code "INVALID_DATA_ACCESS_TRAP" (0x00000004) How to Solve Windows Error Code "INVALID_DATA_ACCESS_TRAP" (0x00000004) Mar 11, 2025 am 11:26 AM

This article addresses the Windows "INVALID_DATA_ACCESS_TRAP" (0x00000004) error, a critical BSOD. It explores common causes like faulty drivers, hardware malfunctions (RAM, hard drive), software conflicts, overclocking, and malware. Trou

ENE SYS Maintenance: Tips and Tricks to Keep Your System Running Smoothly ENE SYS Maintenance: Tips and Tricks to Keep Your System Running Smoothly Mar 07, 2025 pm 03:09 PM

This article provides practical tips for maintaining ENE SYS systems. It addresses common issues like overheating and data corruption, offering preventative measures such as regular cleaning, backups, and software updates. A tailored maintenance s

How do I edit the Registry? (Warning: Use with caution!) How do I edit the Registry? (Warning: Use with caution!) Mar 21, 2025 pm 07:46 PM

Article discusses editing Windows Registry, precautions, backup methods, and potential issues from incorrect edits. Main issue: risks of system instability and data loss from improper changes.

How do I manage services in Windows? How do I manage services in Windows? Mar 21, 2025 pm 07:52 PM

Article discusses managing Windows services for system health, including starting, stopping, restarting services, and best practices for stability.

Discover How to Fix Drive Health Warning in Windows Settings Discover How to Fix Drive Health Warning in Windows Settings Mar 19, 2025 am 11:10 AM

What does the drive health warning in Windows Settings mean and what should you do when you receive the disk warning? Read this php.cn tutorial to get step-by-step instructions to cope with this situation.

5 Common Mistakes to Avoid During ENE SYS Implementation 5 Common Mistakes to Avoid During ENE SYS Implementation Mar 07, 2025 pm 03:11 PM

This article identifies five common pitfalls in ENE SYS implementation: insufficient planning, inadequate user training, improper data migration, neglecting security, and insufficient testing. These errors can lead to project delays, system failures

which application uses ene.sys which application uses ene.sys Mar 12, 2025 pm 01:25 PM

This article identifies ene.sys as a Realtek High Definition Audio driver component. It details its function in managing audio hardware, emphasizing its crucial role in audio functionality. The article also guides users on verifying its legitimacy

why won't driver asio.sys load why won't driver asio.sys load Mar 10, 2025 pm 07:58 PM

This article addresses the failure of the Windows asio.sys audio driver. Common causes include corrupted system files, hardware/driver incompatibility, software conflicts, registry issues, and malware. Troubleshooting involves SFC scans, driver upda

See all articles