In the context of machine learning, the process of extending…