Not sure if anyone else has had this, but I seem to have trouble creating the trained_model.Rdata file. I have run that bash script in the terminal, but it just says it’s “busy” even after leaving it for hours. I’ve tested that my functions seem to be running smoothly, so not sure what’s going on?
That’s quite strange, it could be that your model is quite complex. Can you submit a toy version of your model, or even what you have without the RData file and then give us a submission number? we can go from there
you can actually skip the steps given in the instructions and just run the programs in R. I run the train.R to save my model objects, then when I’m testing if it works I run code in predict.R. running it directly like this might help you figure out your issue
So the error message you are getting this time, seen here, is:
Loading required package: RSQLite
Error in load_model() : object 'model' not found #<---- that's the error
In addition: Warning message:
no DISPLAY variable so Tk is not available
I believe for this to work you have to ensure that the load_model function actually returns the model object. So if you make the following change to your load_model function it should fix this issue I believe.
load_model <- function(){
# Load a saved trained model from the file `trained_model.RData`.
# This is called by the server to evaluate your submission on hidden data.
# Only modify this *if* you modified save_model.
# xgb.load('trained_model') # <--- YOUR ORIGINAL CODE
model = xgb.load('trained_model')
return(model)
}
If it doesn’t work let me know and we’ll dig deeper
This time the error is different I believe. This time you have:
Error in filter(., is.na(vh_value)) : object 'vh_value' not found
So from there it should hopefully be easier to debug?
in case it’s not clear, your error messages are available on your submission pages as well.
For example, the above error is from submission 125536 where if you navigate to “Evaluation Status” you will be able to see your error logs and try to debug