Improving Machine Learning Models For Large Data And Image Detection