Icon

10.1 Integrated Deployment (Optional)

Integrated Deployment

Exercise 6.1 for KNIME User Training
- Train a Decision Tree model
- Capture preprocessing and trained model
- Deploy workflow with Integrated Deployment

Step 1: Capture Preprocessing- use the Capture Workflow Start node with data port types tostart capturing your preprocessing part of the workflow. - use the Number to String node to convert the SentimentRatingand WebActivity columns- use the Capture Workflow End node with data port types to endyour preprocessing part of the workflow Step 2: Capture Prediction Model- use the Capture Workflow Start node with data port types tostart capturing your prediction model- use the Decision Tree Predictor node for your model predictions- use the Capture Workflow End node with data port types to endyour prediction model Step 3: Combine captured Workflowsand Deploy- use the Workflow Combiner node tocombine the preprocessing workflow and themodel prediction workflow (HINT: the first partneeds to be connected to the upper input port)- use the Workflow Writer node to deploy yourworkflow Activity I: Create Model for Deployment - capture the preprocessing of your data and the model prediction using the Capture Workflow Start and Capture Workflow End nodes - combine your captured workflows using the Workflow Combiner - write/deploy your workflow using the Workflow Writer node ReadCurrentDetailData.table DecisionTree Learner Table Reader Partitioning Step 1: Capture Preprocessing- use the Capture Workflow Start node with data port types tostart capturing your preprocessing part of the workflow. - use the Number to String node to convert the SentimentRatingand WebActivity columns- use the Capture Workflow End node with data port types to endyour preprocessing part of the workflow Step 2: Capture Prediction Model- use the Capture Workflow Start node with data port types tostart capturing your prediction model- use the Decision Tree Predictor node for your model predictions- use the Capture Workflow End node with data port types to endyour prediction model Step 3: Combine captured Workflowsand Deploy- use the Workflow Combiner node tocombine the preprocessing workflow and themodel prediction workflow (HINT: the first partneeds to be connected to the upper input port)- use the Workflow Writer node to deploy yourworkflow Activity I: Create Model for Deployment - capture the preprocessing of your data and the model prediction using the Capture Workflow Start and Capture Workflow End nodes - combine your captured workflows using the Workflow Combiner - write/deploy your workflow using the Workflow Writer node ReadCurrentDetailData.table DecisionTree Learner Table Reader Partitioning

Nodes

Extensions

Links