Integrated groups based similarity measurements