A Weighted Majority Vote Strategy Using Bayesian Networks