Machine learning regression analysis on salary data and cost function optimization with 3D visualization.