I've applied predictive modelling on the logistic regression model on my Training data consisting of 4796 rows and then used it to predict probabilities on my testing data of 29597 variables and used the following commands to use this:
model=glm(Training_Data_BSAD$DelayFlag~Training_Data_BSAD$amount_in_local_currency,family=binomial())
predictTrain=predict(model, Testing_Data_BSID, type="response")
Warning message: 'newdata' had 29597 rows but variables found have 4796 rows
Both my training and testing datasets have 98 variables each with same column names.
Can you suggest a way to improve this error and get predicted results for my testing data instead of training data? Any suggestion will be appreciated. Thank you.