Learning From Heterogeneous Data By Bayesian Networks