Boltzmann Classifier: A Thermodynamic-Inspired Approach to Supervised Learning