Learning continuous time Bayesian networks in non-stationary domains