possibility to load other bag of words datasets
added function for computing the mean of the log predictive probability, used for held out data