Bayesian networks for stock picking