Smart regression