How to evaluate the relevancy of a model in machine learning?

I am building a machine learning model, and I want to evaluate its relevance. What are the key factors I should consider? Are there any metrics I should look at? How can I interpret the results? Can you provide an example of how to evaluate the relevancy of a model in Python?
Here’s what I have done so far: