Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 728 Bytes

README.md

File metadata and controls

31 lines (17 loc) · 728 Bytes

Computational Graph interview question

About

Examples

Here is an example of the graph 2x - 3y:

graph

You can see how this would be written in different formats:

There are some more examples in the d3, dot, and csv directories.

Setup

To run the dot examples, you must first brew install dot

To run the python examples, you must first pip install -r requirements.txt

Run

You can visualise the examples by running e.g.:

./dot-to-png.sh dot/coloured_graph.dot

python plot-csv.py coloured-graph