README.md

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')


gmega/expRess documentation built on June 12, 2020, 1 a.m.