TIMP1 expression in tumor epithelial and stromal cells was analyzed with immunohistochemistry (IHC) combined with supervised machine learning based image analysis, facilitating consistent analysis across a large number of cases. Here, TIMP1 is linked to neoplasm.