Comparison of two models of similarity judgment