Introduction Machine learning is a way for computers to learn from data and make predictions…