Exercise:Softmax Regression
From Ufldl
for
Exercise:Softmax Regression
Jump to:
navigation
,
search
== Softmax regression == 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 softmaxCost.m. === Step 0: Initialise constants === === Step 1: Load data === === Step 2: Implement softmaxCost === === Step 3: Gradient checking === === Step 4: Learning parameters === === Step 5: Cross-validation ===
Template:Quote
(
view source
)
Template:Softmax
(
view source
)
Return to
Exercise:Softmax Regression
.
Views
Page
Discussion
View source
History
Personal tools
Log in
ufldl resources
UFLDL Tutorial
Recommended Readings
wiki
Main page
Recent changes
Random page
Help
Search
Toolbox
What links here
Related changes
Special pages