Input: Original complete traffic dataset
; road adjacency triplet
; attribute triplet
; attribute co-occurrence triplet
; loss hyperparameters
; masking matrix
; indicator matrix
; the number of epochs
and the initialized parameters: generator
, generator
, and discriminator
|
1: Construct a KG = {R, ATT, Relations} triplet. |
2: By maximizing the
obtain the knowledge representation matrix
. |
3: Integrating
and
:
-
|
4:
epoch=1,2,…,N
|
5: (1) Discriminator optimization: |
6: Obtain discriminator loss LD
via
Eqs. (10–13)
|
7: Back-propagate LD to update
|
8: (2) Generator optimization: |
9: Obtain the output of
via
Eqs. (10), (11)
|
10:
|
11:
|
12: Obtain the output of
via
Eq. (12)
|
13:
|
14:
|
15: Back
propagate
,
to update
,
|
16:
|
17: Impute the missing values: |
18: Obtain imputed data Ximputed
via
Eqs. (10–12)
|
Output: Trained parameters
,
, and
; imputed data Ximputed
|