Machine Learning Techniques for Calorimetry