摘要:
#include#include#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;class Bayes{private: vector attribute; vector>data; double GetPosPrior() { int count=0; for(vector>::iterator iter=data.begin();iter!=data.end();++iter) { if((*iter)[4]== 阅读全文