Skip to main content

Table 2 The samples according to one-hot encoding method

From: Network security situation prediction based on feature separation and dual attention mechanism

Sample

Numerical data

 

1

2

3

4

5

6

7

\(x_{1}\)

0.04

1

0

0

0

0

1

\(x_{2}\)

0.65

0

1

0

0

1

0

\(x_{3}\)

0.25

0

1

0

0

1

0

\(x_{4}\)

0.11

0

0

1

1

0

0