double bayes(string archivo) { double prob_si = 1; double prob_no = 1; string tipo = "prueba"; set prueba; prueba = cambia_html(archivo,tipo); set::iterator it = prueba.begin(); map::iterator it1; while(it != prueba.end()) { if(probabilidades_cl.find(*it) != probabilidades_cl.end()) { it1 = probabilidades_cl.find(*it); prob_si = prob_si * it1->second; cout<second; } else prob_no *= 0.00001; it++; }*/ return prob_si; }