GeneXproTools Environment

Mathematical Functions
 
For mathematical problems (Function Finding, Classification, and Time Series Prediction), by selecting the Functions Tab in the Functions Panel, you have full access to the 279 built-in mathematical functions of GeneXproTools 4.0, including 186 IF THEN ELSE rules. Here is also the place where you can add Dynamic UDFs (DDFs) to your modeling kit.

To select a function, just check the box on the left. By default, the weight of each function is 1, but you can increase the probability of a function being included in your models by increasing its weight in the Select/Weight column.

For some problems, the simple arithmetic operators are more than enough to create extremely accurate and elegant models. But for other problems more complex functions are necessary to create good models and when inside knowledge of the problem at hand is not producing the expected results, it might be interesting to experiment with different combinations of functions. The Function Selection facility of GeneXproTools 4.0 helps you to experiment with different function sets very quickly either by pressing the Random button or by selecting certain sub-sets of functions.

In addition, although you can always handcraft your function set so that it is well-balanced relatively to the number of independent variables in the problem at hand, in GeneXproTools 4.0 this is no longer essential as GeneXproTools balances automatically all function sets. This is particularly important for high-dimensional datasets, say above 100-1000 variables, where now you just have to choose the functions you want to use and their relative proportions as GeneXproTools will automatically balance them with the number of variables in your data.

Given the great quantity of functions, the Show box allows you to choose small sub-sets and then select just the ones you want or even select the entire sub-set by pressing the Select All button.

As you can see, before each function, it is given its common name, how it is represented in GeneXproTools 4.0, its arity (the number of arguments it takes), and its mathematical definition.

To add a Dynamic UDF (DDF) to your modeling kit, just click the Add button on the Dynamic UDFs frame and the DDF editor appears.

By choosing the arity (minimum is 1 and maximum is 4) in the Arity box, the function header appears below. Then you just have to write the body of the function in the code editor. The code must be in JavaScript and can be rapidly tested for compiling errors.

In the Definition box, you can write a brief description of the function for your future reference. The text you write here will appear in the Definition column.

Dynamic UDFs are extremely powerful and interesting tools as they are treated exactly like the built-in functions of GeneXproTools and therefore can be used to model all kinds of relationships between variables or complex expressions. For instance, you can design a DDF so that it will model the sum of four expressions, that is, DDF = (expression 1) + (expression 2) + (expression 3) + (expression 4), where the value of each expression will depend on the context of the DDF in the expression tree. A note of caution, though, although extremely interesting, DDFs decrease considerably the speed of the algorithm and therefore we advise you to choose your functions from the wide set of GeneXproTools 4.0 built-in functions.

Home | Contents | Previous  | Next