skSymbolEval
First introduced in version 3.00.6
Syntax
skSymbolEval(evalContext, symbols, input)
Details
Evaluates input data using existing expressions and returns the results.
The Community Edition license does not support Shark. To use Shark, go to the official download page and click Request a free trial in the Shark section.
Parameters
evalContext is a handle that specifies the expression evaluation context created by the skSymbolEvalContext function.
symbols is a symbol handle scalar or vector that specifies the expressions to evaluate. You can pass the syms returned by skSymbolFit or a single element from syms.
input is an input data table. The column names must match the input variable names set during symbolic regression training. If grouping variables were used during training, the input for evaluation must also include the corresponding columns.
Returns
- If symbols specifies a single expression, the function returns the result of evaluating that expression.
- If symbols specifies multiple expressions, the function returns a table. The column names are strings such as "0", "1", and "2", and each column contains the evaluation result for one expression.
Examples
See Shark Symbolic Regression.
Related functions: getGlobalSharkEngine, skSymbolRegressor, skSymbolFit, skSymbolEvalContext
