zinggAI / zingg

Scalable identity resolution, entity resolution, data mastering and deduplication using ML
GNU Affero General Public License v3.0
955 stars 119 forks source link

Revisit Integer Similarity, Float and Double #544

Open sonalgoyal opened 1 year ago

sonalgoyal commented 1 year ago

Current feature is if (first+second != 0) score = 2.0*Math.abs(first - second)/(first + second); Do we really need the 2?

vikasgupta78 commented 1 year ago

first+scecond!=0 can also create problems in cases like -2+2 whereas intention might have been 0+0