Skip to content

abcd-arl/forecasting-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 

Repository files navigation

forecasting-system

An Undergraduate Thesis Project

The Philippines continues to have an increasing number of new HIV infections and AIDS-related deaths. The situation has also been worsened by the COVID-19 outbreak limiting socioeconomic resources and disrupting HIV testing, treatment, and prevention services in the country. For this study, ARIMA, SARIMA, and exponential smoothing techniques are compared to select the best model for forecasting the next twelve months of HIV cases in the country. The grid search algorithm is implemented to determine the best combination of parameters for the models. Further, to generate an accurate forecast, only the data from January 2010 to December 2019 are used rather than the complete gathered data from January 2010 to November 2022. Results show that a SARIMA model is the best model in forecasting HIV cases after getting the least RMSE score of 94.67. It is also estimated that the highest number of cases is set in July with 1,984, whereas the lowest number is expected in June, with 1,477 cases.

A forecasting system is also developed to easily calculate the best model, visualize the results, and update the data.

Screen.Recording.2023-04-08.at.9.52.36.PM.mov

The system's homepage provides a dashboard for users to interact with the data and automatically generate a new forecast. It offers visualization of the number of HIV cases in the Philippines, together with the forecasts made by the selected method in the study.

Top page of the homepage Bottom page of the homepage

Interface of the table in the home page The table interface allows users to add new values and create a new forecast. Users can add new values by either clicking on the 'Add' or the 'Upload' button. By clicking on the 'Add' button, new cells in the table are generated for users to fill in, whereas by clicking on the 'Upload' button, users can upload a CSV file that appends its values to the table.

Interface of the direction for using the table Users can only make changes to the data that they added. By selecting the 'Select' button, they can simultaneously select cells to edit, insert or delete. Users can also make a separate edit by double-clicking the cell. Interface of the direction for uploading CSV file Interface of the settings with ‘Automatic’ as the selected method It provides different options when selecting the parameters for the SARIMA model. Users are able to use the grid search algorithm and change the metric being used to find the best parameters or enter the parameters themselves.

Interface of the settings with ‘Manual’ as the selected method Other than allowing users to enter the parameters themselves. The application also allows users to drop a group of data by selecting the date ranges in the settings. Dropped data will not be included in training the models.

Login page The login interface of the system, which allows the admin to access the admin page. Top page of the admin page Bottom page of the admin page Interface of the table in the admin page

Similarly, the admin can add data the same way as users, but they can change all the values. When uploading a CSV file, the admin can choose between appending the contents to the table or having the contents replace the table values.

Visit: https://hiv-forecasting-ph-dashboard.web.app/ (backend is not active)