def _get_group_pe_id(self, group_ids):

        if group_ids:
            gtable = current.s3db.pr_group
            rows = current.db(gtable.id.belongs(group_ids)).select(gtable.id,
                                                                   gtable.pe_id)
            if rows:
                return {row.pe_id: row.id for row in rows}
        return None

# =============================================================================
Mean squared error regression loss
dataset/ETHPy150Open sahana/eden/modules/templates/SAMBRO/controllers.py/subscriptions._get_group_pe_id--crossover with--dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/metrics/regression.py/mean_squared_error