### How to find correlation between two time series using machine learning

I want to find the correlation between two multivariate time series using machine learning (ML) methods. I want to know: 1 – which one of ML methods can be used in general for this task? 2 – if I use neural networks, the input and output shapes would be (values at time steps, number of…