Icon

10.1 Integrated Deployment (Optional) - Exercise

Integrated Deployment - Exercise

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 dataport types to start capturing your preprocessingpart of the workflow. - use the Number to String node to convert theSentimentRating and WebActivity columns- use the Capture Workflow End node with dataport types to end your preprocessing part of theworkflow Step 2: Capture Prediction Model- use the Capture Workflow Start node with dataport types to start capturing your prediction model- use the Decision Tree Predictor node for yourmodel predictions- use the Capture Workflow End node with dataport types to end your prediction model Step 3: Combine capturedWorkflows and Deploy- use the Workflow Combinernode to combine the preprocessingworkflow and the model predictionworkflow (HINT: the first part needsto be connected to the upper inputport)- use the Workflow Writer node todeploy your workflow 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 dataport types to start capturing your preprocessingpart of the workflow. - use the Number to String node to convert theSentimentRating and WebActivity columns- use the Capture Workflow End node with dataport types to end your preprocessing part of theworkflow Step 2: Capture Prediction Model- use the Capture Workflow Start node with dataport types to start capturing your prediction model- use the Decision Tree Predictor node for yourmodel predictions- use the Capture Workflow End node with dataport types to end your prediction model Step 3: Combine capturedWorkflows and Deploy- use the Workflow Combinernode to combine the preprocessingworkflow and the model predictionworkflow (HINT: the first part needsto be connected to the upper inputport)- use the Workflow Writer node todeploy your workflow 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