Open zuoxiang95 opened 4 years ago
The code itself isn't setup to learn a proper metric. However, you can do this kind of conversion fairly easily by using a sigmoid if it is necessary for your application.
@BryanPlummer, thanks for your explanation, I will try it. And another thing I found is that the model will give a high score with the same or similar color items(especially using European distance), but sometimes two different colors are better than the two same colors. For example, black is more compatible with green than green.
Hello @mvasil , Thanks for your excellent work. There is a problem with parameter learned_metric. I had trained a model with learned_metric=True. But when I run my inference code, I find the distance calculated by the model is a negative number.