Hacker News new | ask | show | jobs
by jointpdf 2418 days ago
Check out the CRAN task view on this topic: 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.

1 comments

I didn't see you his comment when I posted but I would strongly recommend PMML-based approach.