Icon

3. My First ANN

KBL: My First Artificial Neural Network
Workflow: My First ANN This workflow reads the data sets written by the Prepare Data workflow. It then trains two machine learning algorithms:- Naive Bayes- Decision Tree (C4.5)to predict Income (>50k / <=50K) based on the remaining input features.Finally, it scores both models on the test set. Leave just numbers + income Save normalization + ANN as PMML model save in KNIME formatwrite in PMML formatapply MLPconvert sexfrom string to Integer0/1onvert sexfrom string to Integer0/1select manuallykeep only numbersand string incomeselect manuallykeep only numbersand string incometraining setwritten by workflowPrepare Datatest setwritten by workflowPrepare Datatrain MLParchitecture8-4-1normalizationin [0,1]as PMMLANN need normalized inputapply normalizationtransformationinclude normalization + modelwrite in PMMLdraw ROCcurve Model Writer PMML Writer MultiLayerPerceptronPredictor Rule Engine Rule Engine Column Filter Column Filter File Reader File Reader RProp MLP Learner Normalizer (PMML) NormalizerApply (PMML) PMML Model Appender PMML Writer ROC Curve Workflow: My First ANN This workflow reads the data sets written by the Prepare Data workflow. It then trains two machine learning algorithms:- Naive Bayes- Decision Tree (C4.5)to predict Income (>50k / <=50K) based on the remaining input features.Finally, it scores both models on the test set. Leave just numbers + income Save normalization + ANN as PMML model save in KNIME formatwrite in PMML formatapply MLPconvert sexfrom string to Integer0/1onvert sexfrom string to Integer0/1select manuallykeep only numbersand string incomeselect manuallykeep only numbersand string incometraining setwritten by workflowPrepare Datatest setwritten by workflowPrepare Datatrain MLParchitecture8-4-1normalizationin [0,1]as PMMLANN need normalized inputapply normalizationtransformationinclude normalization + modelwrite in PMMLdraw ROCcurve Model Writer PMML Writer MultiLayerPerceptronPredictor Rule Engine Rule Engine Column Filter Column Filter File Reader File Reader RProp MLP Learner Normalizer (PMML) NormalizerApply (PMML) PMML Model Appender PMML Writer ROC Curve

Nodes

Extensions

Links