In this section: |
The Define and Compute functionality in InfoAssist, which is used to create virtual fields, supports the use of functions. These functions can be used to create expressions and calculations for use in your reports and charts.
Predictive models or scoring routines, built with the separately licensed WebFOCUS RStat for Predictive Analytics, allow you to add predictive analytics to your reports and charts in InfoAssist. In order to access a scoring routine, an administrator or other designated individual must first deploy the scoring routine using TIBCO WebFOCUS® App Studio. Once the scoring routine is deployed, it will appear in the RStat Scoring Routines folder and can be used when creating a virtual field.
For more information on scoring routine deployment and creating scoring routines, see the TIBCO WebFOCUS® App Studio User’s Manual and the Using WebFOCUS RStat for Predictive Analytics manual.
To access functions in InfoAssist, open the Define or Compute dialog box and click the Functions button, as shown in the following image.
The list of available functions is displayed, including the RStat Scoring Routines folder. If one or more scoring routines have been deployed, the RStat Scoring Routines folder will have a plus sign (+) next to it, indicating that the scoring routines are available and ready for use.
In this section: |
When a RStat predictive model is deployed, it is transformed into a function that is similar to any other WebFOCUS function. You can create expressions for incorporating predictive analytics into your report or chart.
Note: The success of this procedure is contingent on the availability of the scoring routines, which must be deployed prior to accessing the RStat Scoring Routines folder in the Functions list in the Define and Compute dialog boxes.
This enables you to assign an application path, giving you access to the folder containing the deployed scoring routine(s) and Master Files (.mas) to be used in the report or chart.
Note: Scoring routines are not globally available. Therefore, you must obtain the correct application folder name from an administrator or the individual who performs the deployment of scoring routines within your organization.
InfoAssist opens.
The functions are listed.
Note: On the dialog box’s toolbar, click View Fields in a Sortable Grid. This will enable the display of the field names in the Master File.
This places the value of the field from the Master File in the Define or Compute, overwriting the originating parameter supplied from the scoring routine. This enables you to use the scoring routine to develop a unique Define or Compute using fields from your Master File. Optionally, you can type over the parameters and replace them with the corresponding field names.
Missing data refers to variables that have no data value in the current observation or record. In order for a scoring routine to recognize input parameter values and for the algorithm to derive the score appropriately, you must add the SET MISSINGTEST command to the procedure (.fex). For more information, see the Missing Data in Scoring Routines topic in the Using WebFOCUS RStat for Predictive Analytics manual or the online Help.
When using the deployed RStat Scoring Routines, you must set the option to Preserve Null Values. This directive appears in the tooltip when you hover over the RStat Scoring Routines folder, as shown in the following image.
To set the option to preserve null values:
This sets the WebFOCUS environment parameter MISSINGTEST to SPECIAL (that is, SET MISSINGTEST=SPECIAL).
The following image displays the SET MISSINGTEST=SPECIAL value in the procedure (.fex). In order for a scoring routine to recognize missing input parameter values, the SET MISSINGTEST=SPECIAL command must be in the procedure (.fex).
Note: Computes are also placed in the Query pane, by default.