Coder Social home page Coder Social logo

vinicius999 / icu-beds-forecast-covid-19-brazil Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 13.75 MB

Predição do percentual de ocupação de leitos de UTI no Brasil devido a pandemia do COVID-19 tendo como base a evolução da vacinação, usando Support Vector Regression (SVR)

Jupyter Notebook 99.65% Python 0.35%
covid-19 gridsearch-tuning numpy pandas python sklearn support-vector-regression matplotlib plotly

icu-beds-forecast-covid-19-brazil's Introduction

Predicting ICU bed occupancy rate by COVID-19 in Brazil and Regions using SVR based on vaccination.

This study sought to apply the SVR technique to predict the ICU bed occupancy rate by COVID-19 in Brazil for 7, 14, 21 and 28 days after July 19, 2021. See the document here.


Data


Methodology

  • Training data: 85%
  • Validation data: 15%
  • Metrics: MAE (Mean Absolute Error) and RMSE (Root Mean Squared Error)
  • No. of training and validation tests: 5 tests using Grid Search
  • Prediction time intervals: 7, 14, 21 and 28 days after the last collection date

Results

en: All results shown in the figures below start from January 17, 2020 (day 0) e goes up to 28 days after the last date available on the dataset, which is July 19, 2021.

pt-br: Os resultados mostrados nas figuras abaixo iniciam em 17 de janeiro de 2020 (dia 0) e vão até a última data disponível no banco de dados, que é 19 de julho de 2021.

Figure 1

image1

en: Figure 1 shows the vaccination rate x dates for Brazil. The real data is shown as red circles, while the blue curve presents the result of the regression and the red curve presents the predicted vaccination rate for 7, 14, 21 and 28 days ahead.

pt-br: A Figura 1 apresenta o gráfico da taxa de vacinação em relação a data para os dados do Brasil. Os dados reais são mostrados como círculos vermelhos, a curva azul representa o resultado da regressão e a curva em vermelho representa a predição da taxa de vacinação para 7, 14, 21 e 28 dias no futuro.

Table 1

Dias Taxa de vacinação (%) Métricas Erro
7 21.73 MAE 0.8139
14 23.04 RMSE 1.0341
21 24.37
28 25.71

en: Table 1 shows the forecasting results for vaccination rate on Brazil.

pt-br: A tabela 1 mostra os resultados da predição da taxa de vacinação no Brasil.

Figure 2

image5

en: Figure 2 shows the vaccination rate x dates for the North region of Brazil. The black dots mark the real data from the dataset, the red curve represents the result of the SVR regression, while the blue curve is the prediction result for 7, 14, 21 and 28 days ahead.

pt-br: A Figura 2 apresenta o gráfico da taxa de vacinação em relação a data para a região Norte do Brasil. Os pontos pretos são os valores reais do banco de dados, a curva em vermelho representa a regressão da SVR e a curva azul é o resultado da predição para 7, 14, 21 e 28 dias no futuro.

Table 2

Dias Taxa de vacinação (%) Métricas Erro
7 17.62 MAE 0.8764
14 17.99 RMSE 0.9459
21 18.24
28 18.36

en: Table 2 shows the forecasting results for vaccination rate on the North region of Brazil.

pt-br: A tabela 2 mostra os resultados da predição da taxa de vacinação na região Norte do Brasil.

Figure 3

image7

en: Figure 3 shows the vaccination rate x dates for the Northeast region of Brazil. The black dots mark the real data from the dataset, the red curve represents the result of the regression, while the blue curve is the prediction result for 7, 14, 21 and 28 days ahead.

pt-br: A Figura 3 apresenta o gráfico da taxa de vacinação em relação a data para a região Nordeste do Brasil. Os pontos pretos são os valores reais do banco de dados, a curva em vermelho representa a regressão e a curva azul é o resultado da predição para 7, 14, 21 e 28 dias no futuro.

Table 3

Dias Taxa de vacinação (%) Métricas Erro
7 19.38 MAE 0.8097
14 20.22 RMSE 0.9650
21 21.02
28 21.79

en: Table 3 shows the forecasting results for vaccination rate on the Northeast region of Brazil.

pt-br: A tabela 3 mostra os resultados da predição da taxa de vacinação na região Nordeste do Brasil.

Figure 4

image9

en: Figure 4 shows the vaccination rate x dates for the Midwest region of Brazil. The black dots mark the real data from the dataset, the red curve represents the result of the regression, while the blue curve is the prediction result for 7, 14, 21 and 28 days ahead.

pt-br: A Figura 4 apresenta o gráfico da taxa de vacinação em relação a data para a região Centro-Oeste do Brasil. Os pontos pretos são os valores reais do banco de dados, a curva em vermelho representa a regressão e a curva azul é o resultado da predição para 7, 14, 21 e 28 dias no futuro.

Table 4

Dias Taxa de vacinação (%) Métricas Erro
7 25.19 MAE 0.9801
14 28.17 RMSE 1.1901
21 31.44
28 34.93

en: Table 4 shows the forecasting results for vaccination rate on the Midwest region of Brazil.

pt-br: A tabela 4 mostra os resultados da predição da taxa de vacinação na região Centro-Oeste do Brasil.

Figure 5

image11

en: Figure 5 shows the vaccination rate x dates for the Southeast region of Brazil. The black dots mark the real data from the dataset, the red curve represents the result of the regression, while the blue curve is the prediction result for 7, 14, 21 and 28 days ahead.

pt-br: A Figura 5 apresenta o gráfico da taxa de vacinação em relação a data para a região Sudeste do Brasil. Os pontos pretos são os valores reais do banco de dados, a curva em vermelho representa a regressão e a curva azul é o resultado da predição para 7, 14, 21 e 28 dias no futuro.

Table 5

Dias Taxa de vacinação (%) Métricas Erro
7 21.68 MAE 0.7834
14 22.66 RMSE 0.9804
21 23.58
28 24.40

en: Table 5 shows the forecasting results for vaccination rate on the Southeast region of Brazil.

pt-br: A tabela 5 mostra os resultados da predição da taxa de vacinação na região Sudeste do Brasil.

Figure 6

image12

en: Figure 6 shows the vaccination rate x dates for the South region of Brazil. The black dots mark the real data from the dataset, the red curve represents the result of the regression, while the blue curve is the prediction result for 7, 14, 21 and 28 days ahead.

pt-br: A Figura 6 apresenta o gráfico da taxa de vacinação em relação a data para a região Sul do Brasil. Os pontos pretos são os valores reais do banco de dados, a curva em vermelho representa a regressão e a curva azul é o resultado da predição para 7, 14, 21 e 28 dias no futuro.

Table 6

Dias Taxa de vacinação (%) Métricas Erro
7 25.00 MAE 0.8019
14 28.29 RMSE 0.9565
21 32.18
28 36.61

en: Table 6 shows the forecasting results for vaccination rate on the South region of Brazil.

pt-br: A tabela 6 mostra os resultados da predição da taxa de vacinação na região Sul do Brasil.


Paper

SÁ, Gabriel Caldas Barros e et al. (2021) Predição Da Taxa de Ocupação de Leitos de UTI Por COVID-19 No Brasil Usando SVR.. In: Anais do Congresso Brasileiro Interdisciplinar em Ciência e Tecnologia. Anais...Diamantina(MG) UFVJM.

icu-beds-forecast-covid-19-brazil's People

Contributors

vinicius999 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

gabrielgcbs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.