Coder Social home page Coder Social logo

statlearning-notebooks's Introduction

##StatLearning Notebooks##

IPython notebooks that implement the R code for the StatLearning: Statistical Learning online course from Stanford University taught by Profs Trevor Hastie and Rob Tibshirani. The original code for the classes were written in R.

List of Notebooks:

The notebooks are also accessible from A gallery of interesting IPython Notebooks under the Statistics, Machine Learning and Data Science section. More information in my blog post.

This project was linked from Statistics.md of this project containing many curated lists of links to Python scientific programming resources.

statlearning-notebooks's People

Contributors

dragoon avatar sujitpal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

statlearning-notebooks's Issues

LOOCV calculation Error

In loo_shortcut(X, y) function, acorrding to the ITSL,
mse = ((y[row] - ypred[row]) / (1 - hi))**2 should be right

License?

Thanks for making a repository for this! I would like to incorporate some of this code for educational purposes. Just to be safe, could you choose a license? MITLicense would be appreciated!

Calculate hi value in Chapter 5 and plot margin in chapter9

First, wonderful work for people to learn how to use python in statistics.
I think it should be power 2 and should not be hi = ((1 / nrows) + (np.sum(X[row] - xbar), 2) / xsum)[0] .

In chapter 9, to plot the Maximum margin separating hyperplane, I use code from here In your code, I think the c should equal to -reg.intercept_ / reg.coef_[0][1] but I cannot make it right by using SVR. These two methods may define reg.coef_ in different ways.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.