improved decision tree with family size, family id, and title