Exercise:Softmax Regression
From Ufldl
(→Step 0: Initialise constants and parameters) |
|||
Line 4: | Line 4: | ||
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 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. | ||
+ | |||
+ | === Support Code/Data === | ||
+ | |||
+ | The following additional files are required for this exercise: | ||
+ | * [http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz MNIST Dataset (Training Images)] | ||
+ | * [http://yann.lecun.com/exdb/mnist/train-labels-idx1-ubyte.gz MNIST Dataset (Training Labels)] | ||
+ | * [[Using the MNIST Dataset | Support functions for loading MNIST in Matlab ]] | ||
=== Step 0: Initialize constants and parameters === | === Step 0: Initialize constants and parameters === |