Registration of a New Transformation
Predicate supports working with transformations written in Python.
Loading a transformation into the system is done from a file with the .py extension.
The basic version of the application uses the following versions of the language and packages:
Expand the list of packages
Python version 3.11
pandas version 2.2.0
numpy version 1.26.4
plotly version 5.20.0
matplotlib version no lower than 3.9.2
scikit-learn version no lower than 1.2.0
statsmodels version no lower than 0.13.5
river version no lower than 0.16.0
Using other versions of the language and packages and adding new packages is possible but requires additional configuration of the application. Please contact the system administrators for the necessary work.
For more details on writing transformation code, see the page "Rules for Writing Transformations".
Registration of a Transformation
To upload a new metric, go to Control Panel > Catalog > Transformations in the main menu of the application, and on the opened transformations catalog page, click the "Add" button. Adding a transformation is also available via Control Panel > Create > Utilities > Transformation.
A form for uploading a new transformation will open:
In the opened form, you need to upload a Python file with the transformation code and click the "Create" button.
Once the transformation is created, the corresponding entry will appear in the list of transformations registered in the system (Catalog > Transformations), and the transformation will become available for use in monitoring projects.

