Degrees of similarity in knowledge transfer