Solutions to Andrew NG's machine learning course on Coursera
avaisp / machine-learning-programming-assignments-coursera-andrew-ng Goto Github PK
View Code? Open in Web Editor NEWSolutions to Andrew NG's machine learning course on Coursera
Solutions to Andrew NG's machine learning course on Coursera
I noticed the following issues:
Replace the code with the following to fix it. (Using cross product instead of dot product).
J = (1/m) * (-y' * log(sigmoid(X * theta)) - (1 - y)' * log(1 - sigmoid(X * theta)));
how to run Logistic Regression Cost using fminunc....where to write fminunc commands in code.
for e.g. i have five layers:
first layer 30,2nd l 25,3rd l 25,4th l 10,5th 8000
during backpropagation delta value calculations i have d5=(11800) so when i calculate d4 i have d4 of size(111) including bias. but for d3 my theta is 2610but d4 is 111 and thats the problem. My question is should i include bias as well
I am confused that what this line actually doing
y = repmat([1:num_labels], m, 1) == repmat(y, 1, num_labels);
Please explain it to me.
I've printed this y and got 5000*10 matrix but why this is necessary. and please tell me how this command works.
the code in the function block is not the complete file l
??? Input argument "X" is undefined.
Error in ==> featureNormalize at 9
X_norm = X;
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.