DeepONet is an artificial neural network framework to solve partial differential equations (PDEs). Deep learning techniques are used to approximate the solutions of PDE by directly learning a mapping between input variables and the corresponding PDE solutions. We adapt DeepONet to learn an operator mapping basic reproduction number
-
Install deepxde https://github.com/lululxvi/deepxde
-
Download the scripts in https://github.com/lululxvi/deeponet/tree/8d62345afd39e1df9c2c8c8d0e7c41882b06a9bf/src
-
Download and run trainig_data_set.py to generate training and test data set for constant R_0 case. Or download and run training_data_set.py for time dependent R_0 case.
-
Download and run deeponet_pde.py after to train and see the result.
ODE:
Number of sensors: 100
Number of traning set: 20000
Number of test set: 60000
Learning rate: 0.001
Epochs: 50000
Number of sensors: 100
Number of traning set: 20000
Number of test set: 60000
Learning rate: 0.001
Epochs: 50000