machine learning is becoming increasingly popular in today's digital world, and there is a growing…