machine learning is an exciting and rapidly growing field that has the potential to revolutionize…