Optimization of 5G Infrastructure Deployment Through Machine Learning