Skip to main content
Documentation

Function Development Kit (FDK)

The Function Development Kit (FDK) is the library that project functions use to interact with the Diafunc platform. It is a fluent API for symbolic regression, modeling, graph operations, statistics, mathematics, algorithms, and automated analysis, used for Symbolic AI work as well as for day-to-day project automation.

Language support

Functions can be written in Java, Kotlin, Scala, JavaScript, or Python. Regardless of the chosen language, the FDK is accessed through the same context object, which is injected into every function as the variable diafunc. Chained calls on the context reach every part of the kit.

Working in the editor

The code editor built into the platform supports the FDK:
Autocompletion: press Ctrl+Space at any point to list the methods available on the current receiver.
Code navigation: Ctrl+click on a method or type opens the corresponding page of the FDK reference.
Reference lookup: the FDK reference linked below documents every built-in type and function.

Reference

See also