当前位置:网站首页>[data analysis] realize SVDD decision boundary visualization based on MATLAB
[data analysis] realize SVDD decision boundary visualization based on MATLAB
2022-07-28 19:13:00 【Matlab scientific research studio】
1 Content introduction
In the real world , Everything has its characteristics , Such characteristics are more or less 、 Or important or unimportant . People can determine the classification of things by their characteristics , But when things have many characteristics , If people rely on traditional methods to classify things, it will be time-consuming and labor-consuming , And the accuracy of classification is not high . And classification as a prediction model , If the accuracy of classification is low or the time is long , Then this prediction will become worthless . Therefore, people have proposed various classification models to predict things , Among them, support vector machine and support vector description data have certain advantages in predicting high-dimensional data , And according to different requirements , The improvement of these two algorithms has been applied to many fields in real life . First , This paper studies the background and theory of support vector machine in Data Mining Classification Algorithm , Analyzed and summarized SVM Research status of various improvement methods .
2 Simulation code
% DESCRIPTION% Visualize decision boundaries of SVDD (libsvm-3.23)clcclose alladdpath(genpath(pwd))[traindata, testdata, trainlabel, testlabel] = prepareData;c = 0.8; % trade-off parameterg = 1/16; % kernel width% Train SVDD hyperspherecmd = ['-s 5 -t 2 ', '-c ', num2str(c), ' -g ', num2str(g), ' -q'];model = libsvmtrain(trainlabel, traindata, cmd);% Predict testing data[predictedlabel_test, acc, ~] = libsvmpredict(testlabel,testdata, model);% Decision Boundary[rho, X1, X2] = decision_boundary(model, traindata);% Visualizationpara = [c, g, acc(1)];visualization(model, traindata, testdata, rho, X1, X2, para)
3 Running results

4 reference
[1] Lichuanliang . be based on SVDD And parameter identification of analog circuit fault diagnosis method [D]. Nanjing University of Aeronautics and Astronautics .
[2] Shotto . An improved support vector data description algorithm [D]. Harbin Engineering University , 2013.
About bloggers : Good at intelligent optimization algorithms 、 Neural networks predict 、 signal processing 、 Cellular automata 、 The image processing 、 Path planning 、 UAV and other fields Matlab Simulation , relevant matlab Code problems can be exchanged by private letter .
Some theories cite network literature , If there is infringement, contact the blogger to delete .
边栏推荐
- Lookup - lookup of sequential table and ordered table
- Full analysis of warehouse building on the lake: how to build a lake warehouse integrated data platform | deepnova technology collection series open class phase IV
- QT function optimization: QT 3D gallery
- DevCon.exe 导出output至指定文件
- Live broadcast platform software development, JS implementation by alphabetical order
- Is two months of software testing training reliable?
- Efficiency comparison of JS array splicing push() concat() methods
- How to solve the problem that easycvr device cannot be online again after offline?
- 2022年暑假ACM热身练习3(详细)
- Xiaobai must see the development route of software testing
猜你喜欢

Today in history: Microsoft acquires qdos; Model testing pioneer birth; The first laser typesetting Chinese newspaper

Win11电脑摄像头打开看不见,显示黑屏如何解决?

As for the white box test, you have to be skillful in these skills~

Creating new projects and adding your own programs

CTR click through rate prediction practice project of advertising recommendation!

Introduction and advanced level of MySQL (I)

How to write a JMeter script common to the test team

Applet applet jump to official account page

三类6种地图可视化软件测评,最好用的工具居然是它

How to solve the problem that the win11 computer camera cannot be seen when it is turned on and the display screen is black?
随机推荐
UE4.25 Slate源码解读
BM16 delete duplicate elements in the ordered linked list -ii
If you want to change to it, does it really matter if you don't have a major?
Wechat solves the problem of long press selected style
Regular expressions related to face-to-face orders of major express companies in JS
OAI L3 and L2 interface analysis
Is there a future for changing careers in learning software testing?
2022年最火的十大测试工具,你掌握了几个
JVM tuning
【滤波跟踪】基于EKF、时差和频差定位实现目标跟踪附matlab代码
2022杭电多校第二场1011 DOS Card(线段树)
【图像分割】基于方向谷形检测实现静脉纹路分割附MATLAB代码
Efficiency comparison of JS array splicing push() concat() methods
SwiftUI Swift 之正向地理编码与反向地理编码(教程含源码)
关于白盒测试,这些技巧你得游刃有余~
Interviewer: what are the usage scenarios of ThreadLocal? How to avoid memory leakage?
【图像隐藏】基于DCT、DWT、LHA、LSB的数字图像信息隐藏系统含各类攻击和性能参数附matlab代码
[GXYCTF2019]StrongestMind
More loading in applets (i.e. list paging)
BM16 删除有序链表中重复的元素-II