Git Product home page Git Product logo

fuzzy_data_matcher's Introduction

Packages needed:

Python 3. If you need a Python 2 version, go to back to here

Anaconda distribution of Python (numpy, pandas)

pip install metaphone
pip install python-levenshtein

You need fts4 enabled in your sqlite.dll - you might need to replace this in your anaconda installation directory with the one found here :

See also this stackoverflow

Basic usage instructions.

This repo provides codes that allows you to easily fuzzy match two datasets - i.e. probabalistically match two datasets based on which row in the target dataset is most likely to be a match for each candidate record. This allows for missing information and misspellings etc.

See this example for basic usage instructions. You should be able to modify this example to your purposes.

You start with the path to the csv of the two datasets you want to match.

By default the algorithm will attempt a fuzzy match on all fields of these datasets. You can specify candidate_drop_columns and target_drop_columns if you want to modify this behaviour.

You can also optionally specify candidate_dmetaphone_cols and target_dmetaphone_cols if you have columns which contain text information that may have misspellings. This may improve match rates, and will work on columns such as first name, surname, address, but not on columns such as an ID or other code.

fuzzy_data_matcher's People

Contributors

robinl avatar

Stargazers

Kevin Segal avatar Tom Ewing avatar

Watchers

James Cloos avatar

fuzzy_data_matcher's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.