GithubHelp home page GithubHelp logo

deyachatterjee / ml-andrewng-python Goto Github PK

View Code? Open in Web Editor NEW
52.0 6.0 30.0 21.19 MB

This is the Python implementation of the programming assignments in Andrew Ng's online machine-learning course.

Python 100.00%
python scipy machine-learning andrew-ng andrew-ng-course coursera

ml-andrewng-python's Introduction

ml-andrewng-python

This is the Python implementation of the programming assignments in Andrew Ng's online machine-learning course.

Contents:

Programming Assignment #1: Linear Regression (Week 2)

Programming Assignment #2: Logistic Regression (Week 3)

Programming Assignment #3: Multi-class Classification and Neural Networks (Week 4)

Programming Assignment #4: Neural Network Learning (Week 5)

Programming Assignment #5: Regularized Linear Regression and Bias/Variance (Week 6)

Programming Assignment #6: Support Vector Machines (Week 7)

Programming Assignment #7: K-Means Clustering and PCA (Week 8)

Programming Assignment #8: Anomaly Detection and Recommender Systems (Week 9)

ml-andrewng-python's People

Contributors

deyachatterjee 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ml-andrewng-python's Issues

a probelm in name the colums

I found an error in ex1, after loading ex2data in line s= vstack
please i sugust you to
replace it with other name so that 0-d array error solves. as size is predefined it returns the size of the array which makes vstack an error
thankyou.

TypeError : iteration over 0-d array

Line number 123 , the usage of size

s = np.array(data.size)

Returns the number of the elements whereas only the elements of column 'size' are required .

It is giving the error - TypeError : iteration over 0-d array

So it is better to change the argument name on line number 122 to anything other than size.

data = pd.read_csv("ex1data2.txt",names=["size","bedrooms","price"])

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.