Exercise:Softmax Regression

From Ufldl

Jump to: navigation, search
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>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. The only file you need to modify for this exercise is is <tt>softmaxCost.m</tt>.
=== Step 0: Initialise constants and parameters ===
=== Step 0: Initialise constants and parameters ===

Revision as of 05:45, 17 April 2011

Personal tools