XGBoost C++ Prediction Example?


I’ve trained a Regressor in Python, but need to deploy the regressor in C++. I can’t seem to find any examples of someone doing this. I’d be surprised if I were the first person to ever encounter this task.
Does anyone know of an example where a model is loaded and then used for inference using C++?
My model is represented as a .JSON file currently, but I can change the representation to whatever is needed.

Thank you

Thanks for the suggestion. I filed a feature request at https://github.com/dmlc/xgboost/issues/7085