Re: Classifying Handwritten Digits: 1 vs. 5
This thread has a response that might help:
http://book.caltech.edu/bookforum/showthread.php?t=2101 Quote:

Re: Classifying Handwritten Digits: 1 vs. 5
Hello Professor Magdon,
I have a slightly different question related to plotting. When I am asked to "familiarize yourself with the data by giving a plot of two of the digit images", what do we mean by plotting the data? Are we referring to generating a digit image from the greyscale value vector? Or are you referring to somehow plotting the numerical values in the vector, itself? I have a feeling that it is the former, but I am not familar with image generation from greyscale pixels. Any guidance you could provide would be greatly appreciated. 
Re: Classifying Handwritten Digits: 1 vs. 5
If you go to www.amlbook.com, click on 'supporting material' on the right and then scroll down to the `Data' section, you will find some information that can be of use. In particular, there is matlab code for plotting the digit images which takes the matrix of grayscale values and plots an image. This can be of help for developing your own code and utilities.
Quote:

Re: Classifying Handwritten Digits: 1 vs. 5
Thank you for your assistance. That helps me greatly.

Re: Classifying Handwritten Digits: 1 vs. 5
Quote:

Re: Classifying Handwritten Digits: 1 vs. 5
You can use the weights produced by logistic regression for classification.
Quote:

Re: Classifying Handwritten Digits: 1 vs. 5
Hello. I have a question about the digits assignment. Are we supposed to use two
features separately {1, feature i} or have a input vector consisting of {1,feature 1, feature 2}? 
Re: Classifying Handwritten Digits: 1 vs. 5
Thanks for your reply. In the logistic regression will the separator still be linear or not? And should we use fixed or variable step size in the logistic regression?

Re: Classifying Handwritten Digits: 1 vs. 5
{1,feature 1, feature 2}
Quote:

All times are GMT 7. The time now is 01:32 AM. 
Powered by vBulletin® Version 3.8.3
Copyright ©2000  2021, Jelsoft Enterprises Ltd.
The contents of this forum are to be used ONLY by readers of the Learning From Data book by Yaser S. AbuMostafa, Malik MagdonIsmail, and HsuanTien Lin, and participants in the Learning From Data MOOC by Yaser S. AbuMostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.