A study of feature representation via neural network feature extraction and weighted distance for clustering