Machine learning is the ability of an application to identify patterns in the data and predict future events by using these patterns. All data, regardless of type, will have a pattern. Machine learning happens when we train the machine to find and use these patterns to give us some useful predictions.