Git Product home page Git Product logo

coursera's Issues

Type Error when attempting to submit

I am attempting to submit the gradient descent function in week 2 and when pressing submit it gives me a Type Erro saying "not all arguments converted during string formatting". If it changes anything I am using 2 functions for getting my answer which it originally only used 1 function.

ex2 costfunction grad

grad = (1 / m) * sum((h - y) .* X) can be instead of X' * (h - y) / m
Maybe the J also can be optimized in this way.

Splitting Directories into Different Repositories

I wanted the Coursera ML exercise files but I had to quit since I had to clone the entire repository which is pretty huge considering the amount of free network data available.
Please considering splitting different courses/specializations into different repositories

nnCostFunction.m in ex4

I think that:

	z2t = [1; Theta1 * a1t];
       d2t = Theta2' * d3t .* sigmoidGradient(z2t);

should be:

    z2t = Theta1 * a1t;
    d2t = Theta2' * d3t .* [1; sigmoidGradient(z2t)];

You do not add 1 to compute z2.

problem submitting assignment

i'm a novice user of matlab. though i'm following this same code and i've even plotted data in the matlab window using the plotdata command still when i try submitting the code it says "correct your code and resubmit" . i cannot figure out where am i making the mistake. if anyone can help i willl be grateful. below i'm attaching the screenshot of my code and error
Thanks
Uploading plotdata.JPG…
Uploading error.JPG…

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.