Export Tabular Compression from the GUI to the Python API#

The Python API offers more flexibility for the advance usage of NeurEco.

The functionality Export NeurEco to Python facilitates the initial transition from the usage of NeurEco with the GUI to its usage with the Python API.

To create a Python script reproducing the main parts of the GUI project:

  • Go to the project and the model to be exported

  • Go to Python/Export NeurEco to Python in the menu bar of the GUI

  • Choose which parts of the project to export to a Python script. The features available for export:

    • Training: To export the Python build method with the setting panel parameters

    • Evaluation: To export the Python evaluate method for the selected data sets

    • Metrics: To export the Python compute_error method for all the models and selected data sets

    • Export model: To add to the created script the call to the Python save method

    • Export C model: To add to the created script the call to the Python export_c method

    • Export ONNX model: To add to the created script the call to the Python export_onnx method

    • Export FMI model: To add to the created script the call to the Python export_fmu method

    • Export VBA for Excel model: To add to the created script the call to the Python export_vba method

  • Select the destination where to save the script