https://www.snap4city.org/dashboardSmartCity/view/Gea-Night.php?iddasboard=NDIzOQ==
Predictions
In order to compute predictons on some time series (such as traffic flow, parking, emission, etc.) specifi algorhtms should be set up to obtain high precise solutions/predictions. They are usually based on multiple features and not only the tempora series of the variable to be predicted.
in alternative, predictions can be obtained only on the basis of the temporal data of the same variable for which the prediction is needed.
In this case it is possible to use some generic ARIMA, RF, LST models such as in:
https://github.com/disit/snap4city/tree/master/Computing/predictions
Heatmap
On the basis of some scenario the operator can define the an area on which it is interested to make/compute: (i) the traffic flow reconstruction, TFR; (ii) the heatmaps; etc.
On the scenario, one can include the data related to sensors (traffic flow, wheater, emissions, etc.). Sensors can be actual and accessible data from the storage as well as TTT typical time trends to simulate some specific conditions as well as what-if analysis:
https://www.mdpi.com/1424-8220/24/7/2225/pdf
The computation of the heatmap has a sense only if the a number of variables of the same kind are indentified in the scenario area. They are tpyically scattered, so that the heatmap is performing an interpolation. The interopolation can be performed by using some interpolated algorithms, splines, etc
See for this purpose: https://github.com/disit/snap4city/tree/master/Computing/predictions
where you can fined: https://github.com/disit/snap4city/blob/master/Computing/predictions/heatmap.py ed altri file.