May someone share how to train, tune (hyperparameters), cross-validate, and test a ranger quantile regression model, along with error evaluation? With the iris or Boston housing dataset?
The reason I ask is because I have not been able to find many examples or walkthroughs using quantile regression on Kaggle, random blogs, Youtube. Most problems I encountered are classification problems.
I am currently using a quantile regression model but I am hoping to see other examples in particular with hyperparameter tuning
There are a lot of parameters for this function. Since this isn't a forum for what it all means, I really suggest that you hit up Cross Validates with questions on the how and why. (Or look for questions that may already be answered.)
There are a lot of ways to split the data, but I tend to prefer
Caret
, because they word to even out factors if that's what you feed it.It defaults to .1, .5, and .9:
To see what this looks like in practice:
This model produced similarly.
The prediction was pretty similar overall, as well. This isn't a very large set of data, with few predictors. How much do they contribute?
The second most important predictor was removed and it improved.