Exercise:Softmax Regression

From Ufldl

Jump to: navigation, search
m (Removed 'cross validation')
(Softmax regression)
Line 3: Line 3:
In this problem set, you will use [[softmax regression]] on pixels to classify MNIST images. However, since you will also be using softmax regression for the [[Self-Taught Learning]] exercise later, your implementation should be a more general implementation that works on any arbitrary input.
In this problem set, you will use [[softmax regression]] on pixels to classify MNIST images. However, since you will also be using softmax regression for the [[Self-Taught Learning]] exercise later, your implementation should be a more general implementation that works on any arbitrary input.
-
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. The only file you need to modify for this exercise is is <tt>softmaxCost.m</tt>.
+
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.
=== Step 0: Initialise constants and parameters ===
=== Step 0: Initialise constants and parameters ===

Revision as of 06:37, 1 May 2011

Personal tools