Like what you see? Have a play with our trial version.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
top
top

Table of Contents
classcontents

...

Tip

It would be ideal to get a better understanding of the data transformation module before continuing with this guide.

...

  1. Build your advanced analytical model and save it in a PFA format. This file’s type could be JSON or YAML. (This file will be referred to as the PFA file in this guide.)

  2. Navigate to Yellowfin’s Data Transformation module. (Create button > Transformation Flow)

  3. Create a transformation flow beginning with an input step to extract data. (Click here if you want to learn how to create a basic flow, or here to learn about the different ways data can be extracted).



  4. The extracted data will appear in the data preview panel. You can add more steps to further transform the data.

  5. Once you are ready to use the PFA step to import your data science model, follow the procedure below.

  6. Drag the PFA step from the transformation step panel onto the canvas. (The PFA step icon will be red by default when first dragged, this is because the step hasn’t been configured yet.)

    Note

    If you don’t see this step, ensure that you have installed the PFA plug-in.






  7. Using a connection point, create a connection from the last step to the PFA step. 



  8. Click on the PFA step. Its configuration settings will appear in the transformation flow panel.

  9. Specify the extension of the file, by choosing either the YAML or JSON option.

  10. Then upload the PFA file containing your model. You can choose between the drag-and-drop option or load the file by providing a path.

  11. If using the default drag-and-drop option, simply drag the file into the specified area. (Or click the area and browse for the file.)
    Note: If the incorrect file type is dragged in, then the following error will appear.



  12. Or to load the PFA file from a path, first enable the Load from Path toggle and then provide the path or URL.

    Note

    Provide the full path to either a server file or a website URL. In case of the URL, ensure that it is preceded by ‘http:’ or ‘https:’.

     


     

  13. Then click on the Load File button. The step will then start parsing the file. However, if the wrong file path is provided, then the following error will be displayed. 



  14. When the file has been uploaded, further fields will appear to configure the model’s input. (Note: There might be a delay in these fields appearing.) 



  15. Note: These fields will be labeled as the name of the variable, but if no name is specified in the PFA file, then the variable type shows up. For example: 



  16. Map the model’s data with the incoming data from the previous step. Ensure the data type matches as well. (It is assumed that the user knows the model in the PFA file well, and therefore can make the correct mappings.)

  17. Click on the Save button. 



  18. The result generated by the data science model will appear in a column in the data preview panel. Note: The name of this output column will be what has been specified in the PFA file. However if no output name is assigned, the column would be labelled as “PFA Output” by default. 


 

Styleclass
ClasstopLink

PFA Transformation Step