# Prediction of India's Covid19 growth using a Neural Network (AI)

On April 26th, we analysed the number of new cases per day and built a model to estimate the rate at which Covid19 cases will grow in India.

The following curve shows the number of new cases per day as of Apr 26th:

Daily new cases as of Apr 26th |
---|

According to this report, most Covid19 patients take about 5 to 12 days to develop symptoms. This is known as *incubation period*. This implies, if a lockdown happens today, the number of cases will start reducing only after at least 5 days. Lockdown 1.0 started in India on Mar 24th. We looked at the actual data and found that the rate of infection started coming down only after April 5th. It took 11 days to show results on ground.

Neural Network is a Machine Learning algorithm. It looks at some data (called as training data), learns from it and then can predict what would happen after that. No prediction is perfect but this model has a scientific basis to it and has been found by scientists to be quite helpful in many cases. We picked this algorithm for curve fitting.

After the effects of lockdown started showing, we trained our model using 21 days’ data, i.e. Apr 5th to 26th. This would capture the behaviour of growth rate in a lockdown mode. So it should predict the growth accurately as long as the lockdown continues and 5-10 days thereafter.

In the following plot, the line in red denotes actual growth rate numbers from Apr 5th to 26th and the blue line denotes the projected numbers. Since the Lockdown 2.0 was extended till May 3, we can expect the predictions till May 13th to be accurate as per this algorithm.

Our model |
---|

As it can be seen, the growth rate stagnates at about 7%. We used this information to plot the cumulative number of cases by date.

Projected cumulative cases |
---|

According to this model, the cumulative number of infections rises to 50,000 after first week of May, which has held true. It predicts the number touching 1,00,000 around May 15th.

We ran the algorithm again with training data till May 11th and here is the new curve. It agrees with the earlier curve which is as expected as the lockdown continues.

Updated model |
---|

Since many parts of the country have been given relaxations after May 3rd, we are keen to know what to expect in the coming weeks. If the containment strategy proves to be successful, the curve will continue the same way till May 15 and then we can assume it will continue so till May 25. On the other hand, with the increased mobility if the infection rate starts to rise, the ground data will slowly start ramping up from May 13th and training the Neural Network with the new rates, we can predict how the cases would rise. With the change in social behaviour of the people who are letting down their guard, it is our opinion that the latter is more likely to happen. So please check back for updates as we rerun the predictions in a few days.