reset password
Author Message
victormejia
Posts: 40
Posted 10:39 Feb 23, 2011 |

In this case, there really isn't a "training phase" right? The records not used for testing are used to calculate the posterior probabilities?

cysun
Posts: 2935
Posted 12:28 Feb 23, 2011 |

The training phase is basically pre-compute all the posterior probabilities plus P(c1), P(c2) ..., so in the testing phrase you can simply look up the probabilities instead of computing them again and again for each record.