Code Monkey home page Code Monkey logo

pycon_2014's Introduction

PyCon 2014 Talk - Linear Regression Example

This is the linear regression example used in my 'How to get started with Machine Learning' PyCon 2014 talk.

Files

The full pythonb script is provided in lr_brain_body.py. The ipython notebook provides example code snippets and shows how this example was developed.

All png files are illustration outputs used in the presentation.

Dataset

Dataset: brainhead.dat http://www.stat.ufl.edu/~winner/data/brainhead.dat

Source: R.J. Gladstone (1905). "A Study of the Relations of the Brain to to the Size of the Head", Biometrika, Vol. 4, pp105-123

Description: Brain weight (grams) and head size (cubic cm) for 237 adults classified by gender and age group.

Variables/Columns Gender 8 /* 1=Male, 2=Female / Age Range 16 / 1=20-46, 2=46+ */ Head size (cm^3) 21-24 - converted to inches cubed Brain weight (grams) 29-32 - converted to pounds

First Draft (not used in presentation)

Built initial linear regression with code taken straight from sci-kit learn.

  • Code source: Jaques Grobler
  • License: BSD 3 clause
  • Code was replaced by the above dataset and reworked

pycon_2014's People

Contributors

nyghtowl avatar etf avatar

Watchers

James Cloos avatar

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.