You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sum is not the sum of the numWeakClassifiersToUse scores in:
for (int round = 0; round < numWeakClassifiersToUse; round++) {
bestIndex = weakClassifiers[round].classify(inst).getLabeling().getBestIndex();
scores[bestIndex] += alphas[round];
sum += scores[bestIndex];
}
Sum should be:
sum = 0;
for (int i==; i < scores.length; i++)
sum +=scores[i];
The text was updated successfully, but these errors were encountered:
sum is not the sum of the numWeakClassifiersToUse scores in:
for (int round = 0; round < numWeakClassifiersToUse; round++) {
bestIndex = weakClassifiers[round].classify(inst).getLabeling().getBestIndex();
scores[bestIndex] += alphas[round];
sum += scores[bestIndex];
}
Sum should be:
sum = 0;
for (int i==; i < scores.length; i++)
sum +=scores[i];
The text was updated successfully, but these errors were encountered: