Neighbor profile: Bagging nearest neighbors for unsupervised time series mining