One other thing to consider is that the language you do your data science work in doesn’t have to be the same one you deploy your code to in production. At one point, the company I work at did data science work in R and Python and then compiled models to PFA which allows us to run the same model in various other languages. I’m not sure how popular this is, but I suspect you can load TensorFlow models into other languages relatively easily.
You sure can. It’s just that if you have any overlapping functionality (eg if you want to continue to train in users’ browsers) then you have to rewrite the code you already have for JS. For a lot of other applications that’s enough of a downside to make writing all your code in JS worthwhile.
One other thing to consider is that the language you do your data science work in doesn’t have to be the same one you deploy your code to in production. At one point, the company I work at did data science work in R and Python and then compiled models to PFA which allows us to run the same model in various other languages. I’m not sure how popular this is, but I suspect you can load TensorFlow models into other languages relatively easily.
You sure can. It’s just that if you have any overlapping functionality (eg if you want to continue to train in users’ browsers) then you have to rewrite the code you already have for JS. For a lot of other applications that’s enough of a downside to make writing all your code in JS worthwhile.
Is this a thing that can be done? I would have expected it to be way too slow.
It will depend on the use case whether it’s practical, but Tensorflow.js with WASM definitely makes it viable for some situations.