Figure 2. The LSTM model can predict the temporal changes in species abundance in a 12-member synthetic human gut community in response to periodic dilution (passaging).
(a) Proposed LSTM modeling methodology for the dynamic prediction of species abundance in a microbial community. The initial abundance information is an input to the first LSTM cell, the output of which is trained to predict abundance at the next time point. Consequently, the predicted abundance becomes an input to another LSTM cell with shared weights to predict the abundance at the subsequent time point. The process is repeated until measurements at all time points are available. represents a vector of species abundances. Thus, all predictions are forecasted from the abundance at time 0. (b) Scatter plot of measured (true) and predicted species abundance of a 12-member synthetic human gut community at 12 hr (, p-value ). (c) Scatter plot of measured (true) and predicted abundance at 24 hr (p-value ). (d) Scatter plot of measured (true) and predicted abundance at 36 hr (p-value ). (e) Scatter plot of measured (true) and predicted abundance at 48 hr (p-value ). (f) Scatter plot of measured (true) and predicted abundance at 60 hr (p-value ).

