Bearing fault detection using unsupervised learning for automatic health index construction