sgdm with param