Text this: Neural network-based method for measuring the impacts of epileptic brain activities on cardiac cycles