Optimization Techniques for Machine Learning Algorithms Applied to Large-Scale Big Data Analytics