Importing Structures with Import from Task

You can import many different types of structure, such as models, clusters and rules, from any part of your current flow, or from the tasks belonging to any other flow, as long as they use the same underlying Rulex database.

This is useful to help create simple flows, minimizing the connections between various tasks, and also to share information between different flows.

There are some important advantages to working in this way:

  • You can create different pre-processing tasks in the new flow

  • You can join or relate different training models in a single model

  • You can construct loops or multiple iterations.


Prerequisites

  • you must have created a flow;

  • the flow you import data from must all use the same underlying database.


Procedure

  1. Drag and drop the Import from Task task onto the central stage.

  2. Double click the task.

  3. Configure the task options, as described in the table below.

  4. Save and compute the task.

Import from Task options

Parameter Name

Description

Import dataset from

Select the type of item from which you want to create your new dataset.
These are usually based on other datasets, however, in some cases it is useful to use items such as clusters or frequent itemsets as the basis of the new dataset.

Structures to be imported from target task

Select which structures you want to include in the imported dataset.
Possible structures, along with the tasks that produce these structures are:

Association rules

Hierarchical Basket Analysis

Similar Items Detector

Auto regressive models

Auto-Regressive

Clusters

Label Clustering

Projection Clustering

Standard Clustering

Cluster labels 

Label Clustering

Projection Clustering

Discretization cutoffs

Discretize

Frequent itemsets

Frequent Itemsets Mining

Frequent sequences

Sequences Analysis

Results

All tasks

Rules

LLM tasks  (Classification, Regression & One-Class)

Decision Tree

Regression Tree

Models 

Logistic

Linear

Neural Networks (Classification & Regression)

SVM (Classification & Regression)

PCA eigenvectors

Principal Component Analysis

Process

Select the specific flow from which you want to import the structures from the drop-down list.

If this task is used within modules, ‘THIS’ refers to the module itself, as the module is considered as a flow itself.

If you need to import from the parent flow, you must do this through module mapping and remove the Import from Task from the module. For more information on modules, see Configuring Modules with Data sources.

Task

Select the specific task you want to import data from.