A picture worths a thousand words. So no needs to repeat the title. But the point is that similarity is the core of many machine learning algorithms. Before talking about your mathematical models, go understand your business and problems. Lead the model with your insights (or a priori in terms of machine learning). Don’t be lead by the uninterpretable¬†numbers of black box models.