| Algorithm 2: Steps of fog computing Layer | |
| Step 1: | Retrieve the data from repository on fog layer. |
| Step 2: | Perform the preprocessing technique on collected data. |
| Step 3: | Applied random forest classifier for dengue prediction (Algorithm 3). |
| Step 4: | Adopted Gini Index based feature selection algorithm. |
| Step 5: | Monitor the dengue affected patients and generate an alert message (Algorithm 4). |
| Step 6: | Store the data on fog computing layer for future perspective. |