Exercise:Softmax Regression
From Ufldl
(→Step 4: Learning parameters) |
(→Step 4: Learning parameters) |
||
Line 98: | Line 98: | ||
Factoring <tt>softmaxTrain</tt> out as a function means that you will be able to easily reuse it to train softmax models on other data sets in the future by invoking the function with different parameters. | Factoring <tt>softmaxTrain</tt> out as a function means that you will be able to easily reuse it to train softmax models on other data sets in the future by invoking the function with different parameters. | ||
+ | |||
+ | Use the following parameters when training your softmax classifier: | ||
+ | |||
+ | lambda = 1e-3 | ||
=== Step 5: Testing === | === Step 5: Testing === |