Skip to content

dedupeio/categorical-distance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

categorical-distance

Compare categorical variables

Part of the Dedupe.io cloud service and open source toolset for de-duplicating and finding fuzzy matches in your data.

>>> import categorical
>>> categories = ('a', 'b')
>>> comparator = categorical.CategoricalComparator(categories)
>>> comparator('a', 'a')
[ 0.  0.]
>>> comparator('b', 'b')
[ 1.  0.]
>>> comparator('a', 'b')
[ 0.  1.]
>>> comparator('b', 'a')
[ 0.  1.]

About

📐 Compare categorical variables

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages