Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/improbable-eng/computation-graph-interview
Example solutions to the "Computational Graph" interview question
https://github.com/improbable-eng/computation-graph-interview
Last synced: 2 days ago
JSON representation
Example solutions to the "Computational Graph" interview question
- Host: GitHub
- URL: https://github.com/improbable-eng/computation-graph-interview
- Owner: improbable-eng
- Created: 2019-07-09T17:05:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-06T21:51:41.000Z (over 1 year ago)
- Last Synced: 2024-11-10T17:54:49.276Z (2 months ago)
- Language: HTML
- Size: 32.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Computational Graph interview question
## About
## Examples
Here is an example of the graph `2x - 3y`:
![graph](diff_of_products.dot.png)
You can see how this would be written in different formats:
* [dot](dot/diff_of_products.dot)
* [json](d3/diff_of_products.json)
* csv [nodes](csv/diff-of-products.nodes.csv) and [edges](csv/diff-of-products.edges.csv)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