def predict_click_probs(self, session, intent=False):
        click_probs = []
        for rank, result in enumerate(session.results):
            a = self.urlRelevances[intent][session.query][result]['a']
            click_probs.append(a)
        return click_probs
Expands the GROUP BY clause required by the query.
dataset/ETHPy150Open varepsilon/clickmodels/clickmodels/inference.py/DbnModel.predict_click_probs--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/db/models/sql/query.py/Query.set_group_by