We are using Bayesian models to predict NBA all-star selection based on different performance stats. There are 24 all-stars selected each year. Unfornatunely, we can't find a way to make our prediction model understand this. It is either predicting too few or too many all-stars. All-star is included in the data as a binary column (1 = if the player makes the all-star team, 0 = if the player do not)
example of the code:
predict(fitBN, response = targetVar, newdata = testSet, predictors = names(test)[-col.target.var])
Is there any way or arguments to force the predict()-function to predict exactly 24 all-star players?