Icon

4. CASE Switch

There has been no title set for this workflow's metadata.

CASE Switch

The goal of this workflow is to classify the car makers based on the cars they produce. The target class is the "make" column.
The calssification model could a decision tree, a pNN, or a manual set of rules: this is the user choice.
The choice for the classification model is made in the Value Selection Widget node.
Depending on which predictive model has been chosen, the corresponding branch of the CASE block is activated and the model is trained and applied. Predictions are collected in the CASE Switch Data (End) node and performances on the training set are evaluated at the end with a Scorer node. The trick is to produce predictions in an output column named the same on all the branches.
The selected model is collected with a CASE Switch Model (End) node and written to file.

Annotations and comments
  • Workflow: CASE Switch The goal of this workflow is to classify the car makers based on the cars they produce. The target class is the "make" column. The classification model could be a decision tree, a pNN, or a manual set of rules: this is the user choice. The choice for the classification model is made in the Value Selection Widget node. Depending on which predictive model has been chosen, the corresponding branch of the CASE block is activated and the model is trained and applied. Predictions are collected in the CASE Switch End node (data ports) and performances on the training set are evaluated at the end with a Scorer node. The trick is to produce predictions in an output column named the same on all the branches. The selected model is collected with a CASE Switch End node (model ports) and written to file.
  • collect data with predictions
  • collect model
  • Follow dedicated branch according to selected predictive model
  • cars-85.csv
  • predicting "make"
  • generate predictions on training set
  • manual rule set
  • Flow Variable: ClassificationModel
  • Evaluate Model
  • list of available predictive models
  • select ClassificationMode

Nodes

Extensions

Links