Sequential Learning Algorithm