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

  • Buried in cloud files? We can help with Spring cleaning!

    Whether you use Dropbox, Drive, G-Suite, OneDrive, Gmail, Slack, Notion, or all of the above, Dokkio will organize your files for you. Try Dokkio (from the makers of PBworks) for free today.

  • Dokkio (from the makers of PBworks) was #2 on Product Hunt! Check out what people are saying by clicking here.

View
 

ML101wk2

Page history last edited by hoffman.tricia@gmail.com 11 years, 1 month ago

Lectures:

 

Chapter 4 Lecture:

http://www-users.cs.umn.edu/~kumar/dmbook/dmslides/chap4_basic_classification.pdf

 

 

CrossValidation.pdf

 

PredictionErrorvsModelComplexity  This chart is from the ESL text book

 

TreeExample.bmp Data Chart and Tree Diagram from rpart

 

Examples:

 wk02example1.r

 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

 

Homework:

HW02.pdf

 

Resources: 

 

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")  http://127.0.0.1:27898/library/stats/html/formula.html

Comments (0)

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