Probabilistic learning of the Purkinje network from the electrocardiogram