| Algorithm 1. Network Partition Algorithm based on Spatial-Temporal Features (NPA) |
|
Input: The set of sensor nodes ; Output: The probability distribution of model prediction ; |
| 1: Using the embedding function , and the original samples are mapped into the latent feature space |
| 2: K-Means cluster algorithm is used to initialize the objective distribution |
| 3: While not convergence |
| 4: fix the objective distribution to compute |
| 5: update the prediction distribution |
| 6: fix the parameters to compute |
| 7: update the objective distribution |
| 8: minimize through fixing the objective distribution |
| 9: update the parameters |
| 10: End while |
| 11: Return |