*/
private double buildRuleset(Instances insts, double classCount, Vector ruleset)
throws Exception {
Instances data = new Instances(insts);
double wAcRt = 0; // The weighted accuracy rate of this ruleset
double total = data.sumOfWeights();
while( classCount >= m_Folds ){ // Data is not pure
RidorRule bestRule = null;
double bestWorthRate= -1; // The best worth achieved by
double bestWorth = -1; // randomization of the data