Returns the number of regression variables available by the regression model


int mira_GetRegVarCount(mrkernel* pmr);


Input: 

  • Runtime environment pointer


Output: Number of regression variables provided by the project


Description:

mira_GetRegVarCount returns the number of regression variables provided by the project. The mira_GetRegVarName function can be then used to obtain specific variable names.


If the project does not contain any trained regression model, zero is returned. Therefore, this function can be used to check whether regression modeling is enabled in the project.