I am a Pure Physics and Pure Math graduate. I wanted to do Ph.D. in Computer Science on AI. I am currently a research assistant on AI. if my undergraduate is not related to my area interest for Ph.D., will pursuing a master degree in CS increase the chances of Ph.D. CS admission? Or should I focus on research and getting publications and go directly to Ph.D.?
Are there any other disadvantages to go to master in different fields? Is it better to stay at undergraduate focusing more in research experience?
Related: The first answer said that there are disadvantages getting M.Sc when applying to Ph.D. rather than staying in Bsc, but I guess it doesn't cover the case when the Undergraduate and Ph.D. area are different.