Supervised Similarity for Firm Linkages