How do I convert between a measure of similarity and a measure of difference (distance)?

前端 未结 8 1735
悲&欢浪女
悲&欢浪女 2021-02-02 01:57

Is there a general way to convert between a measure of similarity and a measure of distance?

Consider a similarity measure like the number of 2-grams that two strings ha

8条回答
提交回复
热议问题