There are two schools of machine learning education: Math first like Andrew Ng and code first like Jeremy Howard. That both of these leaders have found academic and professional success shows you should approach machine learning in whatever way comes more naturally to you. Later on, you can approach it from the other angle to improve your understanding.