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

NotesWeek4

Page history last edited by mike@mbowles.com 10 years ago

Reference for glmnet: http://www.stanford.edu/~hastie/Papers/glmnet.pdf

 

Here's R-code for in-class examples:

    A new version of the IRLS algo for logistic regression.  This version adds calculation of covariance matrix for betas.

          LogisticRegression(2).R

     A new version of glmnet applied to zipcode data.  this version does training on all 10 digits and runs against the test set

          to calculate error rate on out of sample test-set.

          glmnet.R

     Some simple examples using spline functions as part of linear least squares fits. 

          BS.R

     Using glmnet to classify iris data

          iris.R

     Several different basis expansions in conjunction with glmnet to classify sonar data.

          Sonar.R

     SA heart study with 4 df spline basis expansion.

          SAHeartStudy.R

     Concrete strength predicting using various combinations of basis expansions

          concrete.R

     Bone density smoother

          ESLr.R

 

Data Sets:

     Concrete Data;

          Concrete_Data.csv

 

Cross-validation plot for 10-digit handwritten zip code character recognition

     

 

 

Generalized Linear Models approximate the data with a curve similar to

     Linear Models which approximate the data with a straight line.

 

In this plot points are approximated with a line (using lm in r)

In this plot points are approximated with a curve (using glm in r)

      (the r code used to produce these plots)

 

 

Recorded Lectures:

 

Part 1: https://datamining.webex.com/datamining/ldr.php?AT=pb&SP=MC&rID=107734827&rKey=2ffe310143519e90

 

Part 2: https://datamining.webex.com/datamining/ldr.php?AT=pb&SP=MC&rID=107734837&rKey=8cbadda8ad08416f

 

Part 3: https://datamining.webex.com/datamining/ldr.php?AT=pb&SP=MC&rID=107734847&rKey=01ce38478bb66b06

 

 

 

Comments (0)

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