I am using statsmodel GLM for linear prediction. This is the code that I set exog and endog
X_train = claim_data_x.iloc[:,5:].values Y_train = claim_data_x.loc[:,