Get predictions from the model with many alternatives
Posted: 06 Jul 2020, 20:37
Hi
I have a question. After running the attached file I want to get predictions from the model. I use following commands:
predictions_base = apollo_prediction(model, apollo_probabilities, apollo_inputs)
summary(predictions_base[,3:ncol(predictions_base)])
But it causes this error:
Error in apollo_mnl(mnl_settings, functionality) :
Each element of "V" for model component "MNL" needs to be a scalar or a vector/matrix/cube with one row per observation in the "database"
I have used prediction before and it worked properly but when we use multiple data sources in this new way it comes to the error.
Is there any update on this?
Best,
Houman
I have a question. After running the attached file I want to get predictions from the model. I use following commands:
predictions_base = apollo_prediction(model, apollo_probabilities, apollo_inputs)
summary(predictions_base[,3:ncol(predictions_base)])
But it causes this error:
Error in apollo_mnl(mnl_settings, functionality) :
Each element of "V" for model component "MNL" needs to be a scalar or a vector/matrix/cube with one row per observation in the "database"
I have used prediction before and it worked properly but when we use multiple data sources in this new way it comes to the error.
Is there any update on this?
Best,
Houman