Unsupervised learning: Training Procedure