大工至善|大学至真分享 http://blog.sciencenet.cn/u/lcj2212916

博文

[转载]【源码】基于支持向量数据描述的故障检测仿真

已有 1343 次阅读 2019-6-7 12:14 |系统分类:科研笔记|文章来源:转载


数据域描述涉及数据集的特征化。

Data domain description concerns the characterization of a data set. 


一个好的描述涵盖所有的目标数据,但不包含超流动空间。

A good description covers all target data but includes no superfluous space.


数据集的边界可以用来检测新的数据或异常值。

The boundary of a dataset can be used to detect novel data or outliers. 


我们将介绍受支持向量分类启发的支持向量数据描述(SVDD)。

We will present the Support Vector Data Description (SVDD) which is inspired by the Support Vector Classifier. 


它在一个数据集周围获得一个球形边界,类似于支持向量分类器,并且可以通过使用其他内核函数使其功能更加灵活。

It obtains a spherically shaped boundary around a dataset and analogous to the Support Vector Classifier it can be made flexible by using other kernel functions. 


该方法对训练数据集中的异常值具有较强的鲁棒性,并能通过使用否定的例子来加强描述。

The method is made robust against outliers in the training set and is capable of tightening the description by using negative examples. 


我们使用人工和真实数据显示了支持向量数据描述的特征。

We show characteristics of the Support Vector Data Descriptions using artificial and real data.


示例:

clc 
close all 
% clearvars 
addpath(genpath(pwd))

% Load data (X: training data Y: testing data) 
load ('.\data\X.mat') 
load ('.\data\Y.mat')

% Normalization (in general, this step is important for fault detection) 
[X_s,Y_s] = normalize(X,Y);

% Set parameters 
C = 0.5; % trade-off parameter 
s = 9; % kernel width 
ker = struct('type','gauss','width',s);

% Train SVDD hypersphere 
model = svdd_train(X_s,C,ker);

% Test a new sample Y (vector of matrix) 
d = svdd_test(model,Y_s);

% Plot the results 
plotResult(model.R,d)

完整源代码及参考文献下载地址:

http://page2.dfpan.com/fs/cl0cdjf2826182b9166/ 


更多精彩文章请关注微信号:qrcode_for_gh_60b944f6c215_258.jpg




https://blog.sciencenet.cn/blog-69686-1183590.html

上一篇:[转载]【计算机科学】【2011.06】基于人工神经网络的输电线路故障定位
下一篇:[转载]【新书推荐】【2019.05】雷达基本原理
收藏 IP: 183.160.72.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-6-26 15:15

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部