Giter VIP home page Giter VIP logo

rtas2022-daggen's Introduction

DAGGen

Random DAG Generator

Requirement

python3 -m pip install PyYAML matplotlib pandas

Usage

Accuracy Experiment

python3 main.py -c acc.yaml

For dag_num = 10,000,

Density Experiment

python3 main.py --c density.yaml

Std Experiment

python3 main.py --c std.yaml

Visualization

  • Accuracy plot: python3 viz/acc.py
  • Density plot: python3 viz/density.py

Parameter

  • exp (str): select experiment type (acc, density, std)

  • exp_range ([start, end, step]): same as python range()

    • density_range: The values are on a scale of 100 times (Required in density experiment)
    • std_range: The values are on a tenfold scale (Required in std experiment)
  • dag_num (int): set the number of DAGs

  • instance_num (int): set the number of instances

  • core_num (int): set the number of cores

  • node_num ([mean, dev]): set the number of nodes between [mean-dev, mean+dev]

  • depth ([mean, dev]): set the depth of DAG between [mean-dev, mean+dev]

  • exec_t ([mean, dev]): set the execution time of task between [mean-dev, mean+dev]

  • backup_ratio (float): execution time ratio of backup node

  • sl : Self-looping node's accuracy function is $A(L) = 1 - e^{-L/sl_exp + ln0.3} - \left| N(0, sl_std) \right|$

    • sl_unit (float) : $e_{S, 1}$
    • sl_exp (float)
    • sl_std (float): (Not required in std experiment)
  • acceptance_threshold (int): Acceptance threshold for score function

  • baseline ([small, large]): loop count for BaseLine Small and BaseLine Large

  • density (float): (Not required in density experiment)

  • dangling_ratio (float): dangling DAG node # / total node #

rtas2022-daggen's People

Contributors

spiraline avatar jihwan-kimm 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.