Questions about the bagging source code of weka

I"d like to ask

Utils.normalize(probabilities, sumProbs / sumOfWeights);
What does

mean? I don"t understand

.
probabilities[data.numInstances() - 1] = sumOfWeights;

and what is the function of this sentence

Aug.23,2021
Menu