Exercise:Softmax Regression

From Ufldl

Jump to: navigation, search
(Step 5: Testing)
(Step 0: Initialize constants and parameters)
Line 22: Line 22:
=== Step 0: Initialize constants and parameters ===
=== Step 0: Initialize constants and parameters ===
 +
 +
We've provided the code for this step in <tt>softmaxExercise.m</tt>.
Two constants, <tt>inputSize</tt> and <tt>numClasses</tt>, corresponding to the size of each input vector and the number of class labels have been defined in the starter code. This will allow you to reuse your code on a different data set in a later exercise. We also initialize <tt>lambda</tt>, the weight decay parameter here.
Two constants, <tt>inputSize</tt> and <tt>numClasses</tt>, corresponding to the size of each input vector and the number of class labels have been defined in the starter code. This will allow you to reuse your code on a different data set in a later exercise. We also initialize <tt>lambda</tt>, the weight decay parameter here.

Revision as of 20:31, 11 May 2011

Personal tools