Skip to content
English
  • There are no suggestions because the search field is empty.

2. Generation rule set and accelerators

Explore the tools and techniques available in the generation rule set section, to help you configure and populate rule sets to meet your requirements. This section includes Exercise 2 and Exercise 3. 

In the generation rule set section, there are various accelerators and helpful bits that allow you to quickly configure the rule sets for your requirements. The generation rule set page allows you to see these assets, automatically create them and manually edit them if required.

There are different techniques in the synthetic data generation activity which allow the rule set and other assets to be populated depending on user requirements. In this section we will take you through some the techniques on offer and how they can assist the user generating rule sets.

Step 1 - Navigate to the rule set page

To navigate to the rule set page, click on the ruleset name in the activity screen or change the action to modify by the ruleset component and then press the 'play' button. 


This will open a screen that looks like the below: 

When you open a rule set, the columns will come colour-coded depending on the source of the function.

For example, in the below, it is possible to see that most of these rules have been manually edited as they are white, one has come from a global default as it is light yellow, and one has come from a pre-process as it’s light pink.

Step 2 - Column actions

On the rule set page, you can view the columns for a table, by clicking the arrow to the left of the table name. You can also view the current rule for the column, the origin of the rule (shown by the colour around it), and also whether the column has been checked to see if it has the correct syntax (shown by a red warning triangle, or a green tick). This allows you to easily see which rules are currently in the rule set and which ones may need changing.

For example, in the view below, the UNIT_PRICE column is set to “RandomHelper.GetRandomInt(400, 1000)” which will generate a random integer from 400 to 1000. On each column row, there is a set of symbols that will respectively: 

Accelerators available on a rule set:

  1. Populate value using AI – use our AI helper to suggest a rule for you
  2. Cast type – automatically put in logic to fix any data type issues
  3. (Random) Create Parameter from Table – select random data from a database column
  4. (Sequential) Create Parameter from Table – select sequential data from a database column
  5. Create Default Rule – create a default rule from the expression in the rule set

Exercise 2

  1. Navigate to the rule set you have just created and use the ‘Random Create Parameter from Table’ accelerator to get data to be used in synthetic data generation. For example, ‘Product ID’ from the product table.

Step 3 - User-defined variables

The values can also be set to a variable in the ‘User-defined Variables’ section of the Rule set page. For example, in the below you will see a user-defined variable called ‘LastName’.

This was added by clicking the ‘+Add’ button and filling in the ‘New User-defined variable’ dialogue, an example of which is below.

These user-defined variables can also be linked to a synthetic data generation function edited with VB.Net syntax. In addition, some user-defined variables will be automatically populated by the AI ruleset accelerators and use of the defaults.

Exercise 3

  1. Create a user defined variable that uses one of the synthetic data generation functions

Need help or want to check your work? Check the solution video here.

Proceed to 'Synthetic data generation - Additional information' >