Clustering with Neural Network and Index