Machine learning is an exciting and rapidly evolving field that has the potential to revolutionize the…