Here's how to integrate a PMML or PFA model into your platform.
- Save your model in either PMML (.xml) or PFA (.json/.yaml) format.
- Build a Yellowfin report with data you wish to generate predictions for.
- Drag in a new column that is of the same data type as the prediction to be generated. For example, if your model returns a categorical prediction such as gender, you would want to use a text dimension.
- Within the column formatting drop-down, click Advanced Function.
- Select the Statistical option from the drop-down and select the feature you wish to use.
- Provide the full filepath or URL to the PMML/PFA file and click Load. If the file path has not been correctly specified, you will need to click Reset, adjust the path, and click Load again.
- If Yellowfin is able to load the specified file, detailed configuration options will appear.
- First, specify which model output result you would like to generate. This will often be just the Default Target, but can also include other variables. (PMML only.)
- Next, match the input columns required by your model, with the appropriate columns in the Yellowfin report.
- Click Save.
- Note: If there was a problem in processing the file, check that you have provided valid columns of the same data type required by the model, or look at the yellowfin.log file for a complete error description.