Implement regression for mappings