Learning domain-specific causal discovery from time series