Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 592 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 592 Bytes

expRess

Simple Expression Graphs in R

Overview

expRess allows you to generate simple expression graphs in R, like the ones you see when reasoning about autodiff and backpropagation.

For instance:

express(f_1(f_2(f_3(x_1, x_2), x_3), f_1(f_4(f_5(x_1), f_6(x_2), x_4)))) %>% 
  DiagrammeR::render_graph()

will generate:

graph

Installation

With devtools:

# install.packages('devtools')
devtools::install_github('gmega/expRess')