• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!



Page history last edited by hoffman.tricia@gmail.com 13 years ago



Chapter 4 Lecture:






PredictionErrorvsModelComplexity  This chart is from the ESL text book


TreeExample.bmp Data Chart and Tree Diagram from rpart




 wd02example2.r  (simple example with rpart)

The code for sonar model complexity example SonarRpartXval.R

The code for the simulated data model complexity example modelComplexityExample.R

The code for Linear Regression Example  SimpleRegressionExample.R

      Notes for Linear Regression  notes


Working with  rpart

Simple rpart example SimpleTreeTab4_8.R with data file table4_8pg199.txt


Data Files:

Here are the Data File to upload before you run the R programs:

  rpart_text_example.txt   sonar_test.csv   sonar_train.csv  test_data.csv   test_data.txt  exams_and_names.csv







John Herbach Lecture on PLANET


Web Site for 5th problem Data Description  http://archive.ics.uci.edu/ml/machine-learning-databases/wine-quality/winequality.names

        Red Wine Data winequality-red.txt 


Hints and Notes:

To better understand R formulas help("formula")

Comments (0)

You don't have permission to comment on this page.