Git Product home page Git Product logo

Comments (2)

RobinL avatar RobinL commented on June 6, 2024

Some notes:

abs(l.height - r.height) < 5 is a valid blocking rule, but it’s not one which get_largest_blocks should do analysis of

that’s because it doesn’t actually restrict the comparison space. In order to execute it, spark needs to create a block of records with all combinations of height, and then evaluate the condition for each row in the block

i.e. the block size that we care about is actually the block without that condition

Maybe the function should be less magical, and just be something like get_largest_block_size(columns)

and rather than pass it a blocking rule, you just pass it e.g. get_largest_block_size(["height", "dob"])

none of this means that it’s something you shouldn’t use in your blocking . It does mean, however, that the OTHER conditions associated with that rule should be fairly strict - i.e. you shouldn’t rely on it to restrict the comparison space…or at least, it’s a potential source of slowdown

think of it more like a filter that is applied after the blocks have been computed, rather than a blocking rule

from splink.

RobinL avatar RobinL commented on June 6, 2024

Closed by #278

from splink.

Related Issues (20)

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.