add sequence training for linear regression