1. A method for measuring accuracy of a Naïve Bayes predictive model comprising the steps of: defining code executable by a database management system for performing cross-validation of the Naïve Bayes predictive model; executing the defined code so as to perform cross-validation of the Naïve Bayes predictive model; and outputting an indication of the accuracy of the Naïve Bayes predictive model.