Viewing a single comment thread. View all comments

lmericle t1_iz1kk77 wrote

What about ONNX? Most if not all feedforward models can be represented as ONNX.

7

link0007 t1_iz1nhuf wrote

Yes! I knew there was another standard but I couldn't for the life of me remember the name.

Perhaps it's also just a matter of the Python crowd doing a bit more complicated stuff than the R crowd. For me the models tend to be quite straightforward RF or related models (like I said; tidymodels), but the demand is much more on the correct pipeline with pre- and postprocessing. Things become a bit less easy to store once you go into deep neural networks I'd imagine.

2

unofficialmerve OP t1_iz1nurr wrote

I'm not sure but I was told a lot of times that ONNX support for sklearn was sub-par. I haven't researched that one yet. I can ask to maintainers if you're interested.

1

link0007 t1_iz1p01p wrote

I don't use python so no need! I just remember being quite confused when I was learning sklearn and realised saving models or pipelines was weirdly complicated compared to R.

More generally speaking I suppose the RDS data format is pretty great to work with within R.

2

arsenyinfo t1_iz2hxgi wrote

I deployed sklearn models via onnx in two companies, and it works perfect.

1