} else if (m_algorithm == ALGORITHM_BEST) {
// If we want to choose the best model, just make a model bag that
// includes all the models, then sort initialize to find the 1 that
// performs best.
ModelBag model_bag = new ModelBag(predictions, 1.0, m_Debug);
int[] modelPicked = model_bag.sortInitialize(1, false, data,
m_hillclimbMetric);
// Then give it a weight of 1, while all others remain 0.
modelWeights[modelPicked[0]] = 1;
} else {