-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTEDIEmanual.html
106 lines (84 loc) · 4.47 KB
/
TEDIEmanual.html
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>
<!-- this is for the title -->
<head>
<meta charset = 'utf-8'>
<title>TEDIE Manual </title>
</head>
<style>
body {background-color: white}
h2 {color: #3498D8;}
.tsection
{
border: thin #336699 solid;
background-color: white;
padding: 20px;
margin: 20px;
text-align: left;
font-size: 14pt;
}
</style>
<body>
<!-- this is for the content part of the TEDIE manual -->
<h1> TEDIE MANUAL </h1>
<nav>
<ul>
<li><a href = "#TEDIE_matlab">Use TEDIE in MATLAB</a></li>
<li><a href = "#load_data">Load Data for TEDIE</a></li>
<li><a href = "#disc_choice">Choose Discretization Method for TEDIE</a></li>
<li><a href="#result">TEDIE Result in Commend Window</a></li>
<li><a href="#code">TEDIE Source Code</a></li>
</ul>
</nav>
<!-- this is for the body part of the TEDIE manual -->
<h2 id = TEDIE_matlab>Use TEDIE in MATLAB</h2>
<div class = "tsection">
This is a document that intend to explain how two-step discretization evaluation (TEDIE) works with an example data file. <br>
TEDIE is developed under MATLAB2016b. It is also compatible with MATLAB2017a. <br>
<p>Using TEDIE is through running <a href = main_example.m> main </a>script. </p>
<img src="ManualImage/MainScript.png" alt = "Main Script Screenshot" style = "width:80%"><br>
</div>
<h2 id = "load_data">Load Data for TEDIE</h2>
<div class = "tsection">
<p>Our example includes a default example, example.mat. In our example data file, the original data file the network from an in silico network that has 13 nodes and 8 time series. Each time series dataset contains 9 time points. In total there are 23 different discretization methods (bikmeans2-5, i2-5, kmeans2-5, max25, max50, max75, mean, q2-5, TDT, top25, top75). If you are using your own data, please make sure that every time series for a variable (node) is in a column. <br>
Users can also choose their own data file (*.mat file) using dialog window. By closing the window or hit “cancel” the default example data is loaded to MATLAB workspace. <br><img src="ManualImage/DataSetChoose.png" alt = "Choose Data Window" style = "width: 100%"><br>
In commend window, it will appears eiter data is loaded successfully, <br>
<img src="ManualImage/UDload.png" alt = "load user data" style = "width:80%"><br>
or default data is loaded. <br>
<img src = "ManualImage/DDload.png" alt = "load default data" style = "width:80%">
</p>
</div>
<h2 id = "disc_choice">Choose Discretization Method for TEDIE</h2>
<div class = "tsection">
<p>Then user can choose their discretization of interest in the choosing dialog. <br>
<img src="ManualImage/DiscretizationChoose.png" alt = "Choose Discretization Window" style = "width: 100%"><br>
</p>
</div>
<h2 id = "result">TEDIE Result in Commend Window</h2>
<div class = "tsection">
<p>
Then the commend line will show the discretization of choice, and whether it passes qualification step; if passed, then the mean area between the curves would show up in the commend window. <br>
<img src="ManualImage/s1s2.png" alt = "result that passes qualification and calculate MABC" style = "width: 100%"><br>
Otherwise, it will tell you to choose another discretization method.
<img src="ManualImage/s1.png" alt = "result that fails to pass qualification" style = "width: 100%"><br>
</p>
</div>
<h2 id = "code">TEDIE Source Code</h2>
<div class = "tsection">
Our source code is available on <a href = "https://github.com/yuezhelee/DiscretizationAlgorithms">GitHub</a>
<ul>
<li><a href = "https://github.com/yuezhelee/DiscretizationAlgorithms/blob/master/main_example.m"> the file that should run when using TEDIE </a></li>
<li><a href = "https://github.com/yuezhelee/DiscretizationAlgorithms/blob/master/prebenchmark.m"> calculate area between two lines </a></li>
<li><a href = "https://github.com/yuezhelee/DiscretizationAlgorithms/blob/master/benchmark.m"> the TEDIE main function, including both qualification and mean area between the curves </a></li>
<li><a href = "https://github.com/yuezhelee/DiscretizationAlgorithms/blob/master/choosedialog.m"> discretizaztion choosing window </a></li>
<li><a href = "https://github.com/yuezhelee/DiscretizationAlgorithms/blob/master/GetDiscretizationMethods.m"> function file for discretization selection window </a></li>
<li><a href = "https://github.com/yuezhelee/DiscretizationAlgorithms/blob/master/example.mat" target = '_blank'> example data file </a></li>
</ul>
</div>
</html>