Tuesday, September 25, 2007

r30

r30 | ozzloy | 2007-08-06 17:01:10 -0700 (Mon, 06 Aug 2007) | 4 lines

starting them fisherFaces
:wq

fisher faces is only slightly more complicated than pca from an overview perspective. but the details. oh man, the details!
first, you have to keep track of the class information. this means you have to associate with every point of data the class to which it belongs. i have had trouble doing this in matlab because i don't know how to deal with strings very well. originally i had most of the string handling done in perl scripts in a separate directory. dealing with paths and separate directories in matlab is a pain though. eventually i got the hang of cell arrays and strings in matlab. i still don't really understand it quite well enough to quiz someone else on it or write code confidently. instead i must write some code, see if it works, change the syntax, see what the result is. this process is very time consuming. especially because it keeps you from simply writing code to express your thoughts. instead your thoughts are interrupted while you think about getting the first thoughts syntactically correct. you shouldn't have to fit your thoughts into the representation provided by matlab, matlab should be able to represent your thoughts directly. hooray object oriented. boo matlab's implementation.

No comments: