Inverse problem for parameters identification in a modified SIRD epidemic model using ensemble neural networks