Submitted by unofficialmerve t3_zd3n8s in MachineLearning
lmericle t1_iz1kk77 wrote
Reply to comment by link0007 in [P] Save your sklearn models securely using skops by unofficialmerve
What about ONNX? Most if not all feedforward models can be represented as ONNX.
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.
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.
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.
arsenyinfo t1_iz2hxgi wrote
I deployed sklearn models via onnx in two companies, and it works perfect.
Viewing a single comment thread. View all comments