Inferring structure from multivariate time series sensor data