Exercise:Softmax Regression
From Ufldl
(→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. | ||
- | + | 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. |