Giter Club home page Giter Club logo

data-science-study-group's Introduction

Data-Science-Study-Group

A Data Science Study Group

An online study group for data science using Python stack. We will start with the basics of Python and work our way to statistics, visualization, etc.

Modus operandi

We follow a simple format.

  1. Assign reading materials (courses, presentations, books, Jupyter notebooks etc.) for a week. We work from M-F on mastering the material.

  2. A Skype discussion on Saturday. Presentation on the week's topics by session leader for 30 minutes. Discussion about next week's topics for 30 minutes.

Schedule

Resources

Updates

  • Repo integrated with Slack channel

data-science-study-group's People

Contributors

dsaharia avatar msaharia avatar

Watchers

 avatar

data-science-study-group's Issues

Suggestions on gradient descent notebook

Notebook: https://github.com/dsaharia/Data-Science-Study-Group/blob/master/ml-introduction/grad-des-exdata.ipynb

Notes and suggestions for experimentation and further reading:

Note 1

x_population = data[0].values  # Extracting the first column and storing in a pandas series.
y_profits = data[1].values # Same for the second column

Don't need to store pandas columns into separate variables. You can rename the columns to population and profits. See this. And then you can refer to columns as data['population']
etc.

Note 2

The use of range in multiple places, example:

    for i in range(0,len(x_population)):
        x = x_population[i]
        y = y_profits[i]
        total_error += ((m * x + b) - y)**2

Range is useful too in certain cases, but also try enumerate. Something like

for popvar, popval in enumerate(x_population):
      print(popvar, popval)

See what you get. This way, you don't need the len(x_population).

Note 3 Initialization

total_error = 0 doesn't needs to be initialized. If you want to store all total_error values, you can initialize using total_error=[] and then append the value in every loop. Check how to append values in a loop.

P.S. Plot the cost (y-axis) with iterations (x-axis). You will have a better handle over the evolution.

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.