forked from iqiukp/KPCA-MATLAB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontents.m
62 lines (44 loc) · 2.31 KB
/
contents.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
%{
DESCRIPTION
MAtlab Code for Dimensionality Reduction and Fault Detection using KPCA.
Version 1.0 16-NOV-2019
-----------------------------------------------------------------------
Main classes
(1) KernnelMatrix
Compute kernel matrix using different kernel functions.
kernel = Kernel('type', 'gauss', 'width', 2);
kernel = Kernel('type', 'exp', 'width', 2);
kernel = Kernel('type', 'linear', 'offset', 0);
kernel = Kernel('type', 'lapl', 'width', 2);
kernel = Kernel('type', 'sigm', 'gamma', 0.1, 'offset', 0);
kernel = Kernel('type', 'poly', 'degree', 2, 'offset', 0);
(2) KpcaModel
Create an object with properties 'application', 'kernel',
and methods 'train' and 'test'.
kpca = KpcaModel('application', application, 'kernel', kernel);
-----------------------------------------------------------------------
Main structures
(1) application parameter structures
(1.1) Dimensionality Reduction
parameter.type = 'dimensionalityreduction';
parameter.dimensionality = 2;
(1.2) Fault Detection
parameter.type = 'faultdetection';
parameter.cumulativepercentage = 0.75;
parameter.significancelevel = 0.95;
parameter.faultdiagnosis = 'off';
parameter.diagnosisparameter = 0.5;
parameter.timelag = 0;
where
'cumulativepercentage' : a parameter to decide the number of
principal component.
'significancelevel' : a parameter as corresponding probabilities
to compute the control limit.
'diagnosisparameter' : an experience parameter between 0 and 1
for fault diagnosis.
'timelag' : a time lag parameter for DKPCA.
-----------------------------------------------------------------------
Details of the application of Dimensionality Reduction and Fault
Detection please see the demos.
-----------------------------------------------------------------------
%}