Giter Club home page Giter Club logo

trinity-edge's Introduction

Trinity-Edge

Exploring faster deployments of Trinity for the paper "[Trinity: An Extensible Synthesis Framework for Data Science](https://dl.acm.org/doi/10.14778/3352063.3352098)".

This is a customized/optimized version of the original Trinity (https://github.com/fredfeng/Trinity), with some additional features that support efficiency and research purpose.

Prerequisites

Quick Commands

# testing a benchmark with its target skeleton only
python ./test_morpheus_benchmark.py --benchmark 5 --dsl test_min --skeletons test_min

# testing a benchmark with shared skeleton list
python ./test_morpheus_benchmark.py --benchmark 5 --dsl test_min --skeletons ngram3_nojoin

Usage

single benchmark
usage: test_morpheus_benchmark.py [-h] [-b BENCHMARK] [-d {test_min}] [-s {test_min,test_ks0,ngram3_nojoin}] [--record]

optional arguments:
  -h, --help            show this help message and exit
  -b BENCHMARK, --benchmark BENCHMARK
                        morpheus benchmark id, default: 5
  -d {test_min}, --dsl {test_min}
                        DSL definition to use, default: test_min
  -s {test_min,test_ks0,ngram3_nojoin}, --skeletons {test_min,test_ks0,ngram3_nojoin}
                        skeleton list to use, default: test_min
  --record              whether to enable recorder or not, default: False

Design Notes

  • For a list of columns in the parameter, sort it ASC, and apply the semantics (negative: exclude, positive: include) according to the order.

TODOs / Known Issues

  • spread/group component are much slower than others.
  • Test all morpheus benchmarks to make sure they can actually be solved.
  • Sketch level CDCL is not yet ready.
  • Automatically synthesize the abstract interpreter based on the provided language specs.
  • To speed up parameter enumeration and improve efficacy, consider letting newly generated columns stay in front (not at the end).

Citation

If you find our work and this tool useful in your research, please consider citing:

@article{vldb19_trinity,
  author    = {Ruben Martins and
               Jia Chen and
               Yanju Chen and
               Yu Feng and
               Isil Dillig},
  title     = {Trinity: An Extensible Synthesis Framework for Data Science},
  journal   = {{PVLDB}},
  volume    = {12},
  number    = {12},
  pages     = {1914--1917},
  year      = {2019},
  url       = {http://www.vldb.org/pvldb/vol12/p1914-martins.pdf},
  timestamp = {Fri, 30 Aug 2019 13:15:08 +0200},
  biburl    = {https://dblp.org/rec/bib/journals/pvldb/MartinsCCFD19},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

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.