In the question mentioned above, if you left your home for the training place to stay for fifteen days or more then you shall be muqim there and offer full salah. In case you miss any salah of four rakahs during it then it is wajib for you to offer it four rakahs when you make its qaza. If you go to your training place and intend to stay there only for fourteen days or less then you shall be musafir and qasr shall be wajib for you. In this case if you miss a jamah of four rakahs salah you will have to do qasr in case you offer it alone i.e. you will offer only two rakahs.
Allah knows Best!
Darul Uloom Deoband