A computer-implemented method of treating a patient's and automated enteral feeding, comprising: monitoring a plurality of reflux-related parameters and at least one reflux event while the patient is automatically enterally fed by an enteral feeding controller according to a baseline feeding profile including a target nutritional goal, training a classifier component of a model for predicting likelihood of a future reflux event according to an input of scheduled and/or predicted plurality of reflux-related parameters, the classifier trained according to computed correlations between the plurality of reflux-related parameters and the at least one reflux event, feeding scheduled and/or predicted reflux-related parameters into the trained classifier component of the model for outputting risk of likelihood of a future reflux event, and computing, by the model, an adjustment to the baseline feeding profile for reducing likelihood of the future reflux event and for meeting the target nutritional goal.