The prerequisites for a machine learning course are as follows :
A good knowledge of mathematics.
In particular statistics, and more in particular descriptive statistics.
Even more in particular you should master bayesian statistics. Here the Wikipedia article on Bayesian Statistics https://en.wikipedia.org/wiki/Bayesian_statistics.
Fundamental prerequisite is also a good programming knowledge in Java, Python or better in R.
A good understanding of data structures and related algorithms will be a big plus during your path of ML.
So happy (machine) Learning ;-)