Icon

05_​Predict_​DepartureDelays_​with_​MicrosoftR

Predict Flight Delays with KNIME and Microsoft R.

Here we train a model to predict flight delays using 3 different approaches. - Upper branch: full MIcrosoft R (pure R script) - Middle branch: hybrid KNIME & Microsoft R - Lower branch: full KNIME (taking the data from Microsoft R). This workflow and the integration of Microsoft R in KNIME Analytics Platform are described in this YouTube video: https://youtu.be/HtlpvydyZD0 . To use Microsoft R in KNIME, just change the path to R.exe in Preferences -> KNIME -> R to point to your Microsoft R installation

Pure: Microsoft R Hybrid: MIcrosoft R & KNIME Pure: KNIME Analytics Platform Predict Flight Delays with KNIME and Microsoft R.Here we train a model to predict flight delays using 3 different approaches. - Upper branch: full MIcrosoft R (pure R script) - Middle branch: hybrid KNIME & Microsoft R - Lower branch: full KNIME (taking the data from Microsoft R)This workflow and the integration of Microsoft R in KNIME Analytics Platform are described in this YouTube video: https://youtu.be/HtlpvydyZD0 To use Microsoft R in KNIME, just change the path to R.exe in Preferences -> KNIME -> R to point to your Microsoft R installation Warning! All R nodes share the same R Workspace. Execute one branch at a time! Read DataFull R ScriptSummarize flight dataImport weather dataGet data to KNIMEPrepareTraining DataTrain logistic reg modelPredict using modelROCClass columnmust be nominalPrepareTraining DataImport and Joinweather datadate objectsfrom String todatetimeConvert To KNIME TablePredictusing modelROCtrain decision tree R Source(Workspace) R to Table R To R R To R Preprocessing R to Table Partitioning R Learner R Predictor ROC Curve Number To String Read Data fromRelative Path Partitioning Climate Data Date Conversion R to Table Decision TreePredictor ROC Curve DecisionTree Learner Pure: Microsoft R Hybrid: MIcrosoft R & KNIME Pure: KNIME Analytics Platform Predict Flight Delays with KNIME and Microsoft R.Here we train a model to predict flight delays using 3 different approaches. - Upper branch: full MIcrosoft R (pure R script) - Middle branch: hybrid KNIME & Microsoft R - Lower branch: full KNIME (taking the data from Microsoft R)This workflow and the integration of Microsoft R in KNIME Analytics Platform are described in this YouTube video: https://youtu.be/HtlpvydyZD0 To use Microsoft R in KNIME, just change the path to R.exe in Preferences -> KNIME -> R to point to your Microsoft R installation Warning! All R nodes share the same R Workspace. Execute one branch at a time! Read DataFull R ScriptSummarize flight dataImport weather dataGet data to KNIMEPrepareTraining DataTrain logistic reg modelPredict using modelROCClass columnmust be nominalPrepareTraining DataImport and Joinweather datadate objectsfrom String todatetimeConvert To KNIME TablePredictusing modelROCtrain decision tree R Source(Workspace) R to Table R To R R To R Preprocessing R to Table Partitioning R Learner R Predictor ROC Curve Number To String Read Data fromRelative Path Partitioning Climate Data Date Conversion R to Table Decision TreePredictor ROC Curve DecisionTree Learner

Nodes

Extensions

Links