Exercise:Self-Taught Learning
From Ufldl
(→Step 4: Training and testing the logistic regression model) |
(→Step 5: Classifying on the test set) |
||
Line 55: | Line 55: | ||
===Step 5: Classifying on the test set=== | ===Step 5: Classifying on the test set=== | ||
- | Finally, complete the code to make predictions on the test set (<tt>testFeatures</tt>) and see how your learned features perform! If you've done all the steps correctly, you should get an accuracy of about '''98%''' percent. | + | Finally, complete the code to make predictions on the test set (<tt>testFeatures</tt>) and see how your learned features perform! If you've done all the steps correctly, you should get an accuracy of about '''98%''' percent. |
+ | |||
+ | ''As a comparison, when raw pixels are used (instead of the learned features), we obtained a test accuracy of only around 96% (for the same train and test sets).'' | ||
[[Category:Exercises]] | [[Category:Exercises]] |