Convert Dataset to Model#

The Convert Dataset to Model task takes a dataset with a proper format and outputs the corresponding model, which can then be used in an Apply Model task to derive its responses according to the given samples.

Warning

The Convert Dataset to Model task does not have any parameters or options to define - the only operation necessary for transforming the dataset is to compute the task. The sentence “No parameters need to be set for this task: just compute the task by right-clicking it and selecting Compute > Compute selected” will appear as opening the task.


Example#

Any dataset can be used for this example.

  • Add an Import from Text file task to import the dataset you have previously exported.

    Add a Data Manager and link it to the Import from Text file.

  • Add a Convert Dataset to Model and link it to the Import from Text file.

https://cdn.rulex.ai/docs/Factory/convert-dataset-model-ex1.webp

As described in the section above, no further parameters need to be set for this task - all you need to do is compute the task.

  • To apply the model to the data, add a Select Flows task to the stage.

    Open the task and select the following options:

    • Get dataset from: select Data Manager

    • Get black-box model from: select the option referred to the Convert dataset to model task.

https://cdn.rulex.ai/docs/Factory/convert-dataset-model-ex2.webp
  • Add an Apply Model task to the stage and link it to the Select Flows task. By doing this operation, this model can be applied.

https://cdn.rulex.ai/docs/Factory/convert-dataset-model-ex3.webp