ml4ai / automates

AutoMATES: Automated Model Assembly from Text, Equations, and Software
https://ml4ai.github.io/automates
Other
24 stars 9 forks source link

Prepare paired samples of GrFN2 and GrFN3 JSON for GE #258

Closed pauldhein closed 2 years ago

pauldhein commented 3 years ago

Overview

This issue is much simpler. We should prepare sets of JSONs for GE for the models they have been working with to assist them in making the transition from using GrFN2 + ExprTree JSONs to using GrFN3 JSON.

Note: all references in this issue are for the grfn2gromet branch. I'm not sure whether the references are correct on master.

Tasks

Helpful tips

The code for transforming lambda expressions into expr-trees exists both as a standalone script and as a function in automates/model_assembly/networks.py. The same core library is used and the calls are done for each expression function in GrFN whether we are talking 2.0 or 3.0.

If necessary, it should be possible to use the second function to generate the information needed to form the expr-tree JSON during GrFN3 translation. I'm not sure if that will make things easier, but I wanted you both to know about that as an option.

cl4yton commented 2 years ago

This issue is no longer relevant given move away from original planned GrFN 3.0.