Exercise:Softmax Regression

From Ufldl

Jump to: navigation, search
(Softmax regression)
(Softmax regression)
Line 5: Line 5:
In the file <tt>[http://ufldl.stanford.edu/wiki/resources/softmax_exercise.zip softmax_exercise.zip]</tt>, we have provided some starter code. You should write your code in the places indicated by "YOUR CODE HERE" in the files.  
In the file <tt>[http://ufldl.stanford.edu/wiki/resources/softmax_exercise.zip softmax_exercise.zip]</tt>, we have provided some starter code. You should write your code in the places indicated by "YOUR CODE HERE" in the files.  
-
You will need to modify '''<tt>softmaxCost.m</tt>''' and '''<tt>softmaxPredict.m</tt>''' for this exercise.
+
In the starter code, you will need to modify '''<tt>softmaxCost.m</tt>''' and '''<tt>softmaxPredict.m</tt>''' for this exercise.
We have also provided '''<tt>softmaxExercise.m</tt>''' that will help walk you through the steps in this exercise.
We have also provided '''<tt>softmaxExercise.m</tt>''' that will help walk you through the steps in this exercise.

Revision as of 08:41, 8 May 2011

Personal tools