PhD in Machine Learning from CS Department or from EE Department?
It's not about the department.  Choose an adviser that is good in machine learning (ML).  He/she might be in CS or EE.  In my university, there are staff members in both departments who can supervise ML projects.   Choose someone who fits your interest and work style; see recent question regarding selecting an adviser.