Robust Optimization And Data Approximation In Machine Learning