Optimization for intelligent Data Analysis