Neural trees