Start with the mathematical aspects of machine learning. "Pattern Recognition and Machine Learning" by Christopher Bishop provides a general idea of the field. Pick up with learning related python frameworks on the way. It's better to know what you're really doing before going into the messy programming work.