Code generation

The code generation feature is aimed to increase the productivity of the developer in the model building life cycle. It is achieved by generating the repeated functions that are used in the cycle allowing developer to spend more time on exploring new methodologies to improve the model.

How to access the feature?

import sanatio.code_generation as gc

Code_generation file has all the functions that you will need to generate a new cell in the jupyter notebook with the function definition or print the function definition you need.

Know the list of functions available

Sanatio has a function that will print the list of functions definitions that will be available in Sanatio. The required function can be called from the list.

import sanatio.code_generation as gc

gc.show_function_list()

Generate a new cell with function definition

import sanatio.code_generation as gc

gc.generate_numericals_summary()
import sanatio.code_generation as gc

gc.generate_numericals_summary(print_function=True)

Last updated