Coder Social home page Coder Social logo

manvillej / python-andrewngml Goto Github PK

View Code? Open in Web Editor NEW
24.0 4.0 9.0 18.95 MB

Python implementation of Andrew Ng's ML course projects

Python 100.00%
python python-andrewngml linear-regression svm-classifier neural-network logistic-regression andrew-ng

python-andrewngml's Introduction

Python-AndrewNgML

Python implementation of Andrew Ng's ML course projects

  • Ex1 (Linear Regression) = Complete!
  • Ex2 (Logistic Regression & Regulation) = Complete!
  • Ex3 (MultiClass LR and Neural Network Prediction) = Complete!
  • Ex4 (Multilayer Neural Network) = Complete!
  • Ex5 (Variance vs Bias using Linear Regression) = Complete!
  • Ex6 (Support Vector Machines and Email Spam Classification) = Complete!
  • Ex7 (Kmeans & PCA for data compression and Visualization) = Complete!
  • Ex8 (Anomaly Detection & Recommender Systems) = Complete!

python-andrewngml's People

Contributors

manvillej 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

Watchers

 avatar  avatar  avatar  avatar

python-andrewngml's Issues

optimizer throwing error

optimization is throwing error when calling cost function: nnCostFunction in ex4helper.

Problem is when h2 is 0 or 1, the log value throws an error. I am separating the two conditions so a log of a zero value will never happen using the np.extract method.

Ex8

Need to complete Ex8 - Anomaly Detection & Recommender Systems

Refactor code

Code should be refactored to include a main() and limit line length to <80 characters

Ex6

Need to Complete Ex6 - Support Vector Machines

Ex4

Need to complete Ex4 - multilayer neural networks

ValueError: iterator is too large when running ex7_pca.py on raspberrypi

ex7_pca throws a ValueError: iterator is too large at line 141,when running the program on a rapsberry pi 3. The current memory limitations and the 32 bit OS makes the operation too expensive for the program.

I tried switching the array type from float64 to float32, but it didn't succeed

Since this issue is limited to more of a problem with the raspberrypi than the code. I am going to just leave it there for now

Ex5

Need to complete Ex5 - regularized linear regression & Bias vs Variance

Ex7

Need to complete Ex7 - K-mean Clustering & Principal Component Analysis

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.