AMSC 607 / CMSC 878o Homework 1 FAQ

New! Check the announcement about the due date on the homepage.

Question: On Problem 1, do we need to write down a general formula involving m,n,k,etc or we use the specific numbers to compare the storage? If the latter one, what's the value of k?

Answer: Please write down a general formula and then evaluate it for the specific dimensions given, assuming k=2, 3, or 4.

Question: What minimizer should we use in Problem 3?

Answer: Any general-purpose minimizer is fine. (That means, for example, don't use "lloyds".) My "favorite" is fminunc.

Question: What does "four" mean in problem 3c?

Answer: "Four" should be "six": k=3,4,5 for R and also for D.

Question: Can the cluster centers be any points or do they need to be selected out of the existing data points?

Answer: The cluster centers can be any 3-tuple of numbers (RGB) and need not be chosen from the data points.

Question: In Problem 3, is it ok to run the minimizer without using derivatives?

Answer: Yes, it is ok to use a function like fminunc without derivatives.

Question: How do I submit my homework?

Answer: Preferred way: gather your answers to the written parts, copies of your programs, and copies of Matlab output and hand it to me. If you don't have cheap access to a color printer, you may email me the Matlab figures as postscript attachments. I will also accept email submission of other parts of your project. In that case, each file should be plain text or postscript, and all of the files should be tarred together and sent as an email attachment. No matter how you submit, save your Matlab files. If I have any trouble grading, I will ask you to email them to me.