Message |
Posted on behalf of ben by william William, When generating the new ratings for a new review, is this the process, as I can't quite make it out in your paper. 1) Get text 2) Remove puncutation 3) Stem Words 4) Generate K_w and q_wr for the new text, N_r will be 1, as only one text 5) generate: p(r|/_w K_w,N,Q) = ro_r/sum(r') ro_r' ro_r=m_r.product(w):q_wr^K_w(1-q_wr)^(N-K_w) m_r: number of texts in training data, classified in group g, on axis 'a' q_wr: number generated during training for word:w K_w: -not sure here-number of times word: w appears in text to rate, or number of texts word w appears in, in texts being asked to rate. So if there is only one text being rated, the value is either 1 or 0, in the text or not in the text. N: this is the number of texts being rated, will always =1, as only 1 text will be being rated any one time. Sorry for laboring over this, I jut want to make sure. Ben --- Benjamin Anthony Janes (nniol@forager.co.uk) Principle Software Engineer Applied Psychology Research <-- a.k.a. Nniol, Rasputin -->
|