use all input for unsupervised learning