Giter Site home page Giter Site logo

fastdd's Introduction

FastDD

Introduction

FastDD is a solution to Differential Dependency discovery. Given an instance of a relational schema, FastDD efficiently computes the set of all minimal valid DDs.

Requirements

  • Java 11 or later
  • Maven 3.1.0 or later

Usage

After building the project with maven, you can get FastDD.jar. You can run our code by adding 1~3 params(See Configures).

For example, you can run

java -jar FastDD.jar ./FastDD-Exp/dataset/restaurant.csv

This example takes the dataset restaurant.csv as input, sample its thresholds, computes its minimal valid DCs, and outputs relevant information including the number of DDs and running time.

Configures

If you want to run our code, you should input 1~3 params to specific your target.

java -jar FastDD.jar <fp> <rowLimit> <thresholds>
  • fp: input file path.
  • threshold: if you want to use specific thresholds, input filepath; Or we will sample the dataset and get thresholds.
  • rowLimit: rows limit, using -1 or empty will use full dataset.

Most parameters and configures related to our experiment are in Config.java. Some of the most pertinent ones are listed here, and please refer to the code and comments for further detail.

  • PliShardLength: pli shard size
  • ThreadSize: thread size limit for multi-thread expriment

Comparative Experiments

FastDD are compared to other two discovery methods, IE and Domino(RFD). The source code of Domino can be found here. And we implement DD-IE with our best effort here.

Our datasets and related experiment information are provided here

License

fastdd is released under the Apache 2.0 license. Some basic data structure's source code is imported from DCFinder and FastADC, which is also under Apache 2.0 license.

fastdd's People

Contributors

tristonk avatar hanochyuuka avatar

Stargazers

 avatar

Watchers

 avatar

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.