CISC 101 Lecture : 5.docx
Document Summary
If statements can have many branchs in a single statement. Idx=a(i); big idea value becomes an index. ***** counts the # of numbers in a vector ex [1,2,4,4,4,2,1] counts1. 4 prediction power of an attribute classes attrib values classes take actual word frequencies & convert them to coded versions (1,2,3 ) such that similar frequencies get coded the same way. 12 2 select boundries that might be meaningful. Build the table of frequencies counts of a particular word & the meaning matching ic classws word word. ** values become indexes score table=zeros(4,4); for i=1:n scoretable(codedb(i),ic(i)=scoretable(codedb(i),ic(i) +1 end. 10/9/2012 10:35:00 am the story so far values can become indexes another version of buildtable counters=zeros (4,4); for i=1:n row index=codedb(i); colindex= ic (i); counters(rowindex,colindex)=counters(rowindex,colindex)+1; end results of buildtable is something like this class (ic) Score for each word: if i use this.