HAMA-770: finished linear regression local training