@KumarP wrote:
I have actual dataset (Mydata). after cleaning/model building , I have predicted my result with test data (test_matrix). Now I need to map(create dataframe) my test prediction (test_pred) with actual data set which have Customer column. Please suggest me, how to connect test_pred with Customer for production purpose.
str(Mydata)
‘data.frame’: 1686584 obs. of 39 variables:
customer : Factor w/ 843292 levels "00000D47-1756-E311-8772-0050569C51C6",..: 527360 790193 150129 140965 417954 101988 473840 278324 807556 832400 ... year : int 2016 2016 2016 2016 2016 2016 2016 2016 2016 2016 …test_pred <- predict(bst_model, newdata = test_matrix)
Posts: 1
Participants: 1