Bayesian and Convolutional Networks for Hierarchical Morphological Classification of Galaxies