Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lab weighted kNN, decision trees, random forest (“cross-validation” built in – more labs on it later in the course) Peter Fox and Greg Hughes Data Analytics.

Similar presentations


Presentation on theme: "Lab weighted kNN, decision trees, random forest (“cross-validation” built in – more labs on it later in the course) Peter Fox and Greg Hughes Data Analytics."— Presentation transcript:

1 Lab weighted kNN, decision trees, random forest (“cross-validation” built in – more labs on it later in the course) Peter Fox and Greg Hughes Data Analytics – ITWS-4600/ITWS-6600 Group 2 Lab 3, February 23, 2017

2 Weighted KNN group2/lab3_kknn1.R Make sure you look carefully at the results Apply it to other datasets!

3 Rpart – recursive partitioning and Conditional Inference
group2/lab3_rpart1.R group2/lab3_rpart2.R group2/lab3_rpart3.R group2/lab3_rpart4.R Try rpart for “Rings” on the Abalone dataset group2/lab3_ctree1.R group2/lab3_ctree2.R group2/lab3_ctree3.R

4 randomForest group2/lab3_randomforest1.R Do your own Random Forest , i.e. different implementations, cforest {party} on the other datasets

5 Trees for the Titanic data(Titanic) rpart, ctree, hclust, randomForest for Survived ~ .


Download ppt "Lab weighted kNN, decision trees, random forest (“cross-validation” built in – more labs on it later in the course) Peter Fox and Greg Hughes Data Analytics."

Similar presentations


Ads by Google