4 ms·
Check out the CRAN task view on this topic: https://cran.r-project.org/web/views/ModelDeployment.html https://cran.r-project.org/web/views/ModelDeployment.html
by jointpdf 7y ago
Check out the CRAN task view on this topic: https://cran.r-project.org/web/views/ModelDeployment.html https://cran.r-project.org/web/views/ModelDeployment.html
One dead simple way to do this (R model —> Java production) that I’ve done in the past is to use PMML (via pmml package), which converts models to an XML representation. ONNX is a similar/newer framework along these lines. You can also look at dbplyr for performing (dplyr-like) data preprocessing in-database.
- oli5679 7y agoI didn't see you his comment when I posted but I would strongly recommend PMML-based approach.