| 
  • 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!

View
 

ML101wk2

Page history last edited by hoffman.tricia@gmail.com 12 years, 10 months 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.