Hello,
I do make my machine learning models in rstudio. I am wondering if i could convert or make them work easily in javascript app? How should i do this?
Kind regards and happy Eastern,
Nobel
As far as I know there isn't an automated way to do this. However we have to tools to get you 80% there. If you are using tidymodels and have an orbital complient model Supported Models and recipes steps • orbital
then you can generate the R code that does predictions, which depending on the model isn't terribly hard to translate to javascript
here is the JS function i wrote: talk-orbital-positconf/js-example.html at main · EmilHvitfeldt/talk-orbital-positconf · GitHub from the model i show in my slides Tidypredict with recipes, turning workflow to SQL, spark, duckdb and beyond