Distance Metric Learning with Application to Clustering with Side-Information