Skip to content

Commit e419336

Browse files
committed
Updated table to HTML
1 parent c0859e1 commit e419336

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

_gsocblogs/2025/blog_Intelligent_Logging_Pipeline_OsamaTahir.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -74,19 +74,26 @@ Suppose a log system has several events, each represented by a unique ID. The mo
7474
</p>
7575

7676
<div align="center">
77-
78-
| Unique ID | Event | Probability |
79-
| --------- | ------------ | ----------- |
80-
| 0 | Login | 0.7 |
81-
| 1 | Upload File | 0.4 |
82-
| 2 | Select File | 0.6 |
83-
| 3 | Logout | 0.25 |
84-
| 4 | Submit File | 0.3 |
85-
86-
<i>Table 1: Set of Events</i>
87-
77+
<table>
78+
<thead>
79+
<tr>
80+
<th>Unique ID</th>
81+
<th>Event</th>
82+
<th>Probability</th>
83+
</tr>
84+
</thead>
85+
<tbody>
86+
<tr><td>0</td><td>Login</td><td>0.7</td></tr>
87+
<tr><td>1</td><td>Upload File</td><td>0.4</td></tr>
88+
<tr><td>2</td><td>Select File</td><td>0.6</td></tr>
89+
<tr><td>3</td><td>Logout</td><td>0.25</td></tr>
90+
<tr><td>4</td><td>Submit File</td><td>0.3</td></tr>
91+
</tbody>
92+
</table>
93+
<i>Table 1: Set of Events</i>
8894
</div>
8995

96+
9097
<p align="justify">
9198
Here the model thinks "Login" is most likely next event, then "Select File" and then "Upload File" etc. Hence, the sequence will be [Login, Select File, Upload File, Submit File, Logout] and with their respective unique IDs, it will be [0, 2, 1, 4, 3]. With k=2, the model predicts the top 2 event IDs as [Login, Select File], while the true event is Upload File. Since the true event does not appear in the top 2 predictions, this case is flagged as an anomaly. When k=3, the top 3 event IDs are [Login, Select File, Upload File], and the true event Upload File is included, so it is considered normal. In practice, the model checks whether the true event ID appears within the top-k predicted IDs: if the true event is not present, the sequence is labelled as an anomaly; otherwise, it is treated as normal.
9299
</p>

0 commit comments

Comments
 (0)