weightPerLabel refers to the prior probability of each class, while weightMatrix is the multinomial model for each class. These names should be changed to better reflect their semantic meanings.